[Ironruby-core] digest.so implemented

Sanghyeon Seo sanxiyn at gmail.com
Thu Feb 28 02:50:57 EST 2008

2008/2/28, Wayne Kelly <w.kelly at qut.edu.au>:
> 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:

Seo Sanghyeon

More information about the Ironruby-core mailing list