develooper Front page | perl.perl5.porters | Postings from November 2009

Re: Is there something faster than Storable?

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
November 2, 2009 05:46
Subject:
Re: Is there something faster than Storable?
Message ID:
20091102134550.GC77879@plum.flirble.org
On Mon, Nov 02, 2009 at 01:41:36PM +0000, Tim Bunce wrote:
> After looking (quickly) at the code for Storable it seems that it's
> adding _every_ SV to the table of seen pointers.
> 
> Couldn't it just add those that have a ref count > 1?

It also allows code hooks to be run at freeze time - these could make
(additional) references to things already stored.

So, to be as near completely general as possible, no it can't.

(And currently it has no options to turn of generality.

Also I've said previously that rather than adding yet more global variables
to do something like this, I'd like to see a refactor to provide a scalable
and maintainable option-passing system)


Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About