Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> perl >> libclass-xsaccessor-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Zdroj: libclass-xsaccessor-perl  ]

Balík: libclass-xsaccessor-perl (1.19-2build8)

Perl module providing fast XS accessors

Class::XSAccessor implements fast XS accessors both for getting at and setting an object attribute. Additionally, the module supports mutators and simple predicates like those for testing the truth value of a variable. It works only with objects that are implemented as ordinary hashes.

The XS accessor methods were between 1.6 and 2.5 times faster than typical pure-perl accessors in some simple benchmarking. If you usually write clear code, a factor of two speed-up is a good estimate.

Refer to Class::XSAccessor::Array (also included in libclass-xsaccessor-perl) for an implementation that works with array-based objects.

Ostatné balíky súvisiace s balíkom libclass-xsaccessor-perl

  • závisí
  • odporúča
  • navrhuje
  • dep: libc6 (>= 2.14)
    GNU C Library: Shared libraries
    tiež virtuálny balík poskytovaný balíkom libc6-udeb
  • dep: perl (<< 5.26.2~)
    Larry Wall's Practical Extraction and Report Language
    dep: perl (>= 5.26.1-2ubuntu1)
  • dep: perlapi-5.26.1
    virtuálny balík poskytovaný balíkom perl-base

Stiahnuť libclass-xsaccessor-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
amd64 32.0 kB106 kB [zoznam súborov]