U:RDoc::AnyMethod[iI"count_nodes:ETI"ObjectSpace::count_nodes;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"%Counts nodes for each node type.;To:RDoc::Markup::BlankLineo; ; [I"QThis method is only for MRI developers interested in performance and memory ;TI"usage of Ruby programs.;T@o; ; [I"It returns a hash as:;T@o:RDoc::Markup::Verbatim; [I"E{:NODE_METHOD=>2027, :NODE_FBODY=>1927, :NODE_CFUNC=>1798, ...} ;T: @format0o; ; [I"LIf the optional argument, result_hash, is given, it is overwritten and ;TI"6returned. This is intended to avoid probe effect.;T@o; ; [I" Note: ;TI"BThe contents of the returned hash is implementation defined. ;TI"!It may be changed in future.;T@o; ; [I"6This method is only expected to work with C Ruby.;T: @fileI"ext/objspace/objspace.c;T:0@omit_headings_from_table_of_contents_below0I"4ObjectSpace.count_nodes([result_hash]) -> hash ;T0[I" (*args);T@%FI"ObjectSpace;TcRDoc::NormalModule00