BSD Ports

devel/p5-Clone-Fast 0.97_1 FreeBSD

Natively copying Perl data structures

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
74486fcede
License
ART20
Categories
devel, perl5
Package size
21.8 KiB, 49.2 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%        -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 ;) )

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Clone-Fast0.97_1
NetBSDdevel/p5-Clone-Fast0.96nb15
DragonFlydevel/p5-Clone-Fast0.97_1
HardenedBSDdevel/p5-Clone-Fast0.97_1
GhostBSDdevel/p5-Clone-Fast0.97_1

Install

Binary package:

pkg install p5-Clone-Fast

From the ports tree:

cd /usr/ports/devel/p5-Clone-Fast/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Clone-Fast>0:devel/p5-Clone-Fast

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.97_10.97_10.97_10.97_10.97_1
FreeBSD:14:quarterly0.97_10.97_1n/a0.97_10.97_1
FreeBSD:15:latest0.97_10.97_1n/a0.97_10.97_1
FreeBSD:15:quarterly0.97_10.97_1n/an/an/a
FreeBSD:16:latest0.97_10.97_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%PERL5_MAN3%%/Clone::Fast.3.gz
  • %%SITE_ARCH%%/Clone/Fast.pm
  • %%SITE_ARCH%%/auto/Clone/Fast/Fast.so
distinfo 1
FileSizeSHA256
Clone-Fast-0.97.tar.gz509173f81f22b222719f1a2e3c5d1738e5719c06b37fe00277c71949f21ecf272aaa7
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
74486fcede Muhammad Moinur Rahman devel/p5-Clone-Fast: Fix fetch
- Switch to DISTVERSION while I am here