libreadonly-xs-perl 1.04-2build1 source package in Ubuntu
Changelog
libreadonly-xs-perl (1.04-2build1) oneiric; urgency=low * Rebuild for Perl 5.12. -- Colin Watson <email address hidden> Sat, 07 May 2011 02:10:47 +0100
Upload details
- Uploaded by:
- Colin Watson
- Uploaded to:
- Oneiric
- Original maintainer:
- Debian Perl Group
- Architectures:
- any
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libreadonly-xs-perl_1.04.orig.tar.gz | 8.9 KiB | 3dce369ffcdaccd37e7ae65ce5a1dcda33dc99d91f8b8629265cf300898c41a4 |
libreadonly-xs-perl_1.04-2build1.diff.gz | 3.1 KiB | 1c0ea98e99a5aa27011531f2daa84b29d0b7e14a64b2af5885f03c3ea5307f3d |
libreadonly-xs-perl_1.04-2build1.dsc | 2.0 KiB | 67d06490eeb8a7d3cf1efb074f35be66d10b52a609c84c9dcb7e81e4f3d5a84e |
Available diffs
- diff from 1.04-2 to 1.04-2build1 (300 bytes)
Binary packages built by this source
- libreadonly-xs-perl: Faster Readonly implementation
The Readonly module (q.v.) is an effective way to create non-modifiable
variables. However, it's relatively slow.
.
The reason it's slow is that is implements the read-only-ness of variables via
tied objects. This mechanism is inherently slow. Perl simply has to do a lot
of work under the hood to make tied variables work.
.
This module corrects the speed problem, at least with respect to scalar
variables. When Readonly::XS is installed, Readonly uses it to access the
internals of scalar variables. Instead of creating a scalar variable object
and tying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS
structure.