in reply to Fast(er) serialization in Perl
With "millions of keys" chances are high that they are highly uniform.
That means you might be able to transform it to an array or array like structure.
You might even be able to store/load this array with the help of pack/unpack which would speed-up things significantly.
If it's "web based" does it mean it's a CGI? You might want to consider fastcgi or mode-perl to keep the data in memory between different queries.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fast(er) serialization in Perl
by mrguy123 (Hermit) on Apr 11, 2010 at 12:23 UTC | |
by The Perlman (Scribe) on Apr 11, 2010 at 12:41 UTC | |
by mrguy123 (Hermit) on Apr 11, 2010 at 13:33 UTC | |
by The Perlman (Scribe) on Apr 11, 2010 at 13:47 UTC | |
by The Perlman (Scribe) on Apr 11, 2010 at 14:11 UTC | |
by mrguy123 (Hermit) on Apr 11, 2010 at 15:16 UTC | |
| |
by The Perlman (Scribe) on Apr 11, 2010 at 13:17 UTC | |
by mrguy123 (Hermit) on Apr 11, 2010 at 13:38 UTC | |
by The Perlman (Scribe) on Apr 11, 2010 at 13:49 UTC | |
by Marshall (Canon) on Apr 12, 2010 at 22:29 UTC |