Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Tuesday April 21, 2009
02:14 AM

Insanely parsimonious perl

[ #38836 ]

If you haven't heard, libJudy from is really spiff, tiny and fast. I've got a module Judy::* which provides a perl API to it.

While I don't use this interface myself because tie() is ungodly slow, here, it's available. I figure to publish a version to CPAN soonish. It's newer on

Here's a cheap sample. It's an incredibly concise bit vector.

tie %vector, 'Judy::1'

Here's more. It's a HoHoH on the outside but really a Word->Word->Bits map on the inside.

tie %hohoh, Judy => 'L -> L -> 1'

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.