1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/p5-Clone-Fast/pkg-descr
Erwin Lansing 604b199874 Add p5-Clone-Fast 0.90.1, natively copying Perl data structures.
PR:		ports/100308
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2006-07-14 21:23:23 +00:00

22 lines
989 B
Plaintext

Essentially, this module is a very optimized version of Clone::More.
By taking advantage of one of Clone::More's 'OPTIMIZATION_HACKS' as
well as removing all the Pure Perl from the More.pm, I was able to
gain a lot of speed out of the module. Essentially, though, the core
of the module is exactly as that of Clone::More.
You will see that by useing Benchmark::cmpthese, I ran a simple
comparison between Storable::dclone, Clone::More::clone, and
Clone::Fast::clone. You will (should) begin to see the reason why I
loaded this module along side of Clone::More.
Rate Storable Clone::More Clone::Fast
Storable 7552/s -- -39% -59%
Clone::More 12400/s 64% -- -33%
Clone::Fast 18442/s 144% 49% --
For more information relative to the DESCRIPTION of this module, I
recommend peeking into the POD written for Clone::More (I took more
time with it ;) )
WWW: http://search.cpan.org/dist/Clone-Fast/