Any faster way than a db file to store and retrieve hashes ?

Greg McCarroll greg at mccarroll.org.uk
Mon Aug 7 23:00:40 BST 2006


On 7 Aug 2006, at 22:38, David Cantrell wrote:

> Storable is faster in the first case, and some species of
> DBM in the second.  Benchmarking will show you

just in case its of interest to anyone as anecdotal evidence, i once had
to serialize a very uniform data structure, so i had a go at writing  
a pure
perl serialization routine that took advantage of knowing the structure,
to see if there was a quick win.

storable still blew it away.

Greg

p.s. reminds me of how you find the min or max of a list in perl for  
most
small sizes of list - sort it and take the appropriate value off the  
appropriate
end.


More information about the london.pm mailing list