Paketname | libreadonly-xs-perl |
Beschreibung | Faster Readonly implementation |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.04-2+b1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 32 Byte |
Hängt ab von | perl (>= 5.10.0-9), perlapi-5.10.0, libc6 (>= 2.7-1) |
Empfohlene Pakete | libreadonly-perl |
Paketbetreuer | Debian Perl Group |
Quelle | libreadonly-xs-perl (1.04-2) |
Paketgröße | 11834 Byte |
Prüfsumme MD5 | 8994e0f458205ab156e1f84f53db2171 |
Prüfsumme SHA1 | a92e79db32b1062148e262b1f716de976c26d828 |
Prüfsumme SHA256 | 405a2a9ac84ced3108bb839a48bf025cd557a82e19278130f07fd9b1aa8188fa |
Link zum Herunterladen | libreadonly-xs-perl_1.04-2+b1_i386.deb |
Ausführliche Beschreibung | 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.
|