libb-cow-perl 0.007-ok1 source package in openKylin
Changelog
libb-cow-perl (0.007-ok1) nile; urgency=medium * Sync upstream version. -- zhouganqing <email address hidden> Thu, 27 Jun 2024 17:15:59 +0800
libb-cow-perl (0.007-ok1) nile; urgency=medium * Sync upstream version. -- zhouganqing <email address hidden> Thu, 27 Jun 2024 17:15:59 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Nile V2.0 | release | main | perl | |
Nile V2.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libb-cow-perl_0.007.orig.tar.gz | 18.3 KiB | 1290daf227e8b09889a31cf182e29106f1cf9f1a4e9bf7752f9de92ed1158b44 |
libb-cow-perl_0.007-ok1.debian.tar.xz | 1.8 KiB | 3e94e32e82c04dc17880f2bcbb2fbda85c06bf355a789063874ea0ab05ea4da5 |
libb-cow-perl_0.007-ok1.dsc | 1.8 KiB | e509b761f1df6d16fe7dccb3496f4a0ad1eb3f31204693ed0a9bce3dfad9b58e |
B::COW provides some naive additional B helpers to check the COW status of
one SvPV.
.
A COWed SvPV is sharing its string (the PV) with other SvPVs. It's a (kind
of) Read Only C string, that would be Copied On Write (COW).
.
More than one SV can share the same PV, but when one PV need to alter it, it
would perform a copy of it, decrease the COWREFCNT counter.
.
One SV can then drop the COW flag when it's the only one holding a pointer to
the PV.
.
The COWREFCNT is stored at the end of the PV, after the "\0".
.
That value is limited to 255, after that a new PV would be created,