2008/2/28, Wayne Kelly <[EMAIL PROTECTED]>: > Attached is an implementation of the methods and classes from external > library digest.so that are used by some simple Rails use cases.
This implementation appends all strings hashed to the buffer. Which means, if you hash 100 MB file, each megabyte incrementally, 100 MB MutableString is allocated. This is unnecessary, and can be avoided by using TransformBlock. FePy's implementation of hashlib extension module uses this method. See: http://fepy.svn.sourceforge.net/svnroot/fepy/trunk/lib/hashlib.py -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
