wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: libreadonly-xs-perl  ]

Pakiet: libreadonly-xs-perl (1.05-1 i inne)

Odnośniki dla libreadonly-xs-perl

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego libreadonly-xs-perl:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Znaczniki: Rozwój oprogramowania: Rozwijanie w języku Perl, Biblioteki, Zaimplementowane w: implemented-in::c, implemented-in::perl, Rola: Biblioteka deweloperska

Inne pakiety związane z libreadonly-xs-perl

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libreadonly-xs-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Wersja Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 1.05-1+b6 9,5 KiB42,0 KiB [lista plików]
arm64 1.05-1+b6 9,5 KiB34,0 KiB [lista plików]
armhf 1.05-1+b6 9,2 KiB34,0 KiB [lista plików]
i386 1.05-1+b6 9,6 KiB42,0 KiB [lista plików]