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.
In reply to Re: Fast(er) serialization in Perl
by The Perlman
in thread Fast(er) serialization in Perl
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |