D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Gem
/
SafeMarshal
/
Reader
/
Filename :
cdesc-Reader.ri
back
Copy
U:RDoc::NormalClass[iI"Reader:ETI"Gem::SafeMarshal::Reader;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"(lib/rubygems/safe_marshal/reader.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[ [U:RDoc::Constant[i I"MARSHAL_VERSION;TI".Gem::SafeMarshal::Reader::MARSHAL_VERSION;T:private0o;;[ ; @; 0@@cRDoc::NormalClass0U;[i I"STRING_E_SYMBOL;TI".Gem::SafeMarshal::Reader::STRING_E_SYMBOL;T;0o;;[ ; @; 0@@@0U;[i I"EMPTY_STRING;TI"+Gem::SafeMarshal::Reader::EMPTY_STRING;T;0o;;[ ; @; 0@@@0U;[i I"EMPTY_ARRAY;TI"*Gem::SafeMarshal::Reader::EMPTY_ARRAY;T;0o;;[ ; @; 0@@@0U;[i I"OBJECT_LINKS;TI"+Gem::SafeMarshal::Reader::OBJECT_LINKS;T;0o;;[o:RDoc::Markup::Paragraph;[I"6profiling bundle install --full-index shows that ;TI"5offset 6 is by far the most common object link, ;TI"5so we special case it to avoid allocating a new ;TI"!object a third of the time. ;TI"1the following are all the object links that ;TI"1appear more than 10000 times in my profiling;T; @; 0@@@0U;[i I"EMPTY_HASH;TI")Gem::SafeMarshal::Reader::EMPTY_HASH;T;0o;;[ ; @; 0@@@0[ [[I" class;T[[:public[[I"new;TI"(lib/rubygems/safe_marshal/reader.rb;T[:protected[ [;[ [I" instance;T[[;[[I" read!;T@G[;[ [;["[I"read_array;T@G[I"read_bignum;T@G[I"read_byte;T@G[I"read_bytes;T@G[I"read_class;T@G[I"read_class_or_module;T@G[I"read_data;T@G[I"read_element;T@G[I"read_extended_object;T@G[I"read_false;T@G[I"read_float;T@G[I"read_hash;T@G[I"!read_hash_with_default_value;T@G[I"read_header;T@G[I"read_integer;T@G[I"read_module;T@G[I" read_nil;T@G[I"read_object;T@G[I"read_object_link;T@G[I"read_object_with_ivars;T@G[I"read_regexp;T@G[I"read_string;T@G[I"read_struct;T@G[I"read_symbol;T@G[I"read_symbol_link;T@G[I"read_true;T@G[I"read_user_class;T@G[I"read_user_defined;T@G[I"read_user_marshal;T@G[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@I"Gem::SafeMarshal;TcRDoc::NormalModule