libb-cow-perl 0.004-ok2 source package in openKylin
Changelog
libb-cow-perl (0.004-ok2) yangtze; urgency=medium * Modify debian/control. -- sufang <email address hidden> Thu, 15 Sep 2022 15:10:25 +0800
libb-cow-perl (0.004-ok2) yangtze; urgency=medium * Modify debian/control. -- sufang <email address hidden> Thu, 15 Sep 2022 15:10:25 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libb-cow-perl_0.004.orig.tar.gz | 18.8 KiB | e755dbe5df4b6c0c809b242631281688926d0e26566d9c0806fa5b2c502715d8 |
libb-cow-perl_0.004-ok2.debian.tar.xz | 7.9 KiB | 488bacce56cc1f47e63bbdf81f5dc2b134069bcf277309669f602b4fefe5c569 |
libb-cow-perl_0.004-ok2.dsc | 1.7 KiB | d9ee9beb0dc10fecc175d1c63f7b9e117f0371a305ab0aa54e1888d5af775830 |
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,