[Ironruby-core] Review: Fix

Tomas Matousek Tomas.Matousek at microsoft.com
Tue Nov 17 19:32:36 EST 2009


Looks good.

Tomas

From: Shri Borde
Sent: Tuesday, November 17, 2009 3:59 PM
To: ironruby-core at rubyforge.org
Cc: IronRuby External Code Reviewers
Subject: Review: Fix

fpt review /shelveset:regex;sborde

Implements Kernel.srand with no parameters
Changes RubyRegex to not clone the input string when being used for String#scan, and to share the cloned string when possible. Without the sharing, you could cause OutOfMemoryException.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091118/10ea490a/attachment.html>


More information about the Ironruby-core mailing list