P5-clone-fast

Jul 20, 2023

Natively copying Perl data structures

Essentially, this module is a very optimized version of CloneMore. By taking advantage of one of CloneMore’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 CloneMore.

You will see that by using Benchmarkcmpthese, I ran a simple comparison between Storabledclone, CloneMoreclone, and CloneFastclone. You will should begin to see the reason why I loaded this module along side of CloneMore.

	   Rate    Storable CloneMore CloneFast
Storable     7552/s          --        -39        -59
CloneMore 12400/s         64          --        -33
CloneFast 18442/s        144         49          --

For more information relative to the DESCRIPTION of this module, I recommend peeking into the POD written for CloneMore I took more time with it ;



Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler