Question to Cache::Memcached
Brad Fitzpatrick
brad@danga.com
Tue, 8 Jun 2004 15:50:49 -0700 (PDT)
On Tue, 8 Jun 2004, Michael Granger wrote:
> On Jun 8, 2004, at 12:42 PM, Evan Martin wrote:
>
> > I could've sworn Perl exposed its internal hash function that it uses
> > for its own hashes--I think the similar languages do.
>
> According to <http://www.perl.com/pub/a/2002/10/01/hashes.html>, the
> algorithm Memcached.pm uses is the one Perl 5.005 used, but it changed
> with 5.61, IIRC. I don't know of any way to use it yourself, however.
Can get at it via Inline/XS easy enough.
But the one we used isn't technically the one 5.005 used, since it did
integer overflow when it was implemented in C. Doh.
- Brad