How do I tell if Ruby 2.0 is copy on write friendly? -


i'm doing in irb after installing ruby 2.0:

% irb                                                                                               2.0.0p247 :001 > gc.respond_to?(:copy_on_write_friendly=)  => false 

why returning false? how know ruby 2.0 cow friendly?

apparently ruby 2.0 copy on write friendly, method ":copy_on_write_friendly" available in ruby enterprise edition. cow friendliness function of garbage collector, , 1 gc available ruby 2.0 (correct me if i'm wrong!), there no need configuration option. if want query cow friendliness, want query version of ruby.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -