Paketname | libreadonly-xs-perl |
Beschreibung | Faster Readonly implementation |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (main) |
Version | 1.04-2 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 92 Byte |
Hängt ab von | perl (>= 5.10.0-10), perlapi-5.10.0, libc6 (>= 2.1.3) |
Empfohlene Pakete | libreadonly-perl |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 11932 Byte |
Prüfsumme MD5 | 76c3f74b50ab4b459b9b07a3ec4594ec |
Prüfsumme SHA1 | 93d6d885885cbf703b04f214fa210142dfb76a32 |
Prüfsumme SHA256 | d97cafd7441406c2ca019e710b60e93bc9d65b909d1700a1e865e654ec7d8940 |
Link zum Herunterladen | libreadonly-xs-perl_1.04-2_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.
|