develooper Front page | perl.perl5.porters | Postings from January 2008

RE: [perl #50352] Perl 5.10 Storable extremely slow for large trees of data

Thread Previous | Thread Next
From:
Steve Hay
Date:
January 30, 2008 01:59
Subject:
RE: [perl #50352] Perl 5.10 Storable extremely slow for large trees of data
Message ID:
1B32FF956ABF414C9BCE5E487A1497E70132AFE8@ukmail02.planit.group
Nicholas Clark wrote:
> On Wed, Jan 30, 2008 at 09:43:22AM -0000, Steve Hay wrote:
> 
>> Not straight out-of-the-box. I tried with 1.0.14 and then again with
>> 2.12 (the version prior to the UTF8 changes), but they both choke on
>> "case SVt_PVBM" in sv_type(). I don't know how to workaround that to
>> get it building with 5.10, but if it (and any other build problems)
>> can be 
> 
> I think like this:
> 
> #if PERL_VERSION < 9
> 	case SVt_PVBM:
> #endif
> 
> It's what the current Storable has, and I'd be surprised if anyone
> ever managed to get an SV of type SVt_PVBM into a data structure that
> they were able to pass into Storable.

OK, that gets it building and it passed all tests still.

Unfortunately, it's no quicker than 2.18 was with my 5.10/system-malloc
build (about 2.3 secs with either version). (I had to manually delete
the 2.18 version that ships with 5.10 from the lib/ folder, because
1.0.14 installed into site/lib/.)

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