[Ironruby-core] Review: Fix

Shri Borde Shri.Borde at microsoft.com
Tue Nov 17 18:58:40 EST 2009


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/20091117/cf0d9ab5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regex.diff
Type: application/octet-stream
Size: 10027 bytes
Desc: regex.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091117/cf0d9ab5/attachment-0001.obj>


More information about the Ironruby-core mailing list