devel/p5-Clone-Fast 0.97_1 DragonFly
Natively copying Perl data structures
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART20
- Categories
- devel, perl5
- Package size
- 20.6 KiB, 46.8 KiB installed
Description
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 using 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%25 -59%25
Clone::More 12400/s 64%25 -- -33%25
Clone::Fast 18442/s 144%25 49%25 --
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 ;) )
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Clone-Fast | 0.97_1 |
| FreeBSD | devel/p5-Clone-Fast | 0.97_1 |
| NetBSD | devel/p5-Clone-Fast | 0.96nb15 |
| HardenedBSD | devel/p5-Clone-Fast | 0.97_1 |
| GhostBSD | devel/p5-Clone-Fast | 0.97_1 |
Install
Binary package:
pkg install p5-Clone-Fast
From DPorts:
cd /usr/dports/devel/p5-Clone-Fast && make install clean