libb-cow-perl 0.004-ok3 source package in openKylin
Changelog
libb-cow-perl (0.004-ok3) nile; urgency=medium * No change rebuild against perl-5.36 -- CI Bot <email address hidden> Mon, 15 Apr 2024 07:46:02 +0000
libb-cow-perl (0.004-ok3) nile; urgency=medium * No change rebuild against perl-5.36 -- CI Bot <email address hidden> Mon, 15 Apr 2024 07:46:02 +0000
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libb-cow-perl_0.004.orig.tar.gz | 18.8 KiB | e755dbe5df4b6c0c809b242631281688926d0e26566d9c0806fa5b2c502715d8 |
libb-cow-perl_0.004-ok3.debian.tar.xz | 8.0 KiB | 63739a94adc8405d6ba46de08b92478308547790f0d0a9cd69f0427e6425bbfd |
libb-cow-perl_0.004-ok3.dsc | 1.7 KiB | 88782f76f46bf0309d2a0f270250aea7a00b2a8ac489d61bf32121761fe4f990 |
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,