p5-Readonly-XS - Companion module for Readonly.pm, to speed up read-only scalar variables

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename p5-Readonly-XS-1.05_2.txz
Package name p5-Readonly-XS
Package version 1.05
Package release 2
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Readonly-XS
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 9.20 KB
Installed size 26.55 KB
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
Readonly arrays and hashes are not sped up by this, since the SvREADONLY flag
only works for scalars. Arrays and hashes always use the tie interface.
Programs that you write do not need to know whether Readonly::XS is installed or
not. They should just "use Readonly" and let Readonly worry about whether or not
it can use XS. If the Readonly::XS is present, Readonly will be faster. If not,
it won't. Either way, it will still work, and your code will not have to change.
Your program can check whether Readonly.pm is using XS or not by examining the
$Readonly::XSokay variable. It will be true if the XS module was found and is
being used. Please do not change this variable.
WWW: https://metacpan.org/release/Readonly-XS


Package Version Architecture Repository
p5-Readonly-XS-1.05_2.txz 1.05 i386 FreeBSD Ports Quarterly
p5-Readonly-XS-1.05_2.txz 1.05 amd64 FreeBSD Ports Latest
p5-Readonly-XS-1.05_2.txz 1.05 i386 FreeBSD Ports Latest
p5-Readonly-XS - - -


Name Value
libperl.so.5.28 -
p5-Readonly = 2.05
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Readonly-XS-1.05_2.txz
Source Package devel/p5-Readonly-XS

Install Howto

Install p5-Readonly-XS txz package:

# pkg install p5-Readonly-XS

See Also

Package Description
p5-ReadonlyX-1.04.txz Faster facility for creating read-only scalars, arrays, hashes
p5-Reaper-1.00_1.txz Perl module for reaping child processes via $SIG{CHLD}
p5-Reddit-0.30.03.txz Module for interacting with Reddit
p5-Reddit-Client-1.341,4.txz Methods and object wrappers for objects exposed by the Reddit API
p5-Redis-1.9950.txz Perl binding for Redis database
p5-Redis-Fast-0.23_1.txz Perl binding for Redis database
p5-Redis-hiredis-0.11.0_2.txz Simple wrapper around hiredis C client
p5-RedisDB-2.53.txz Perl extension to access redis database
p5-RedisDB-Parser-2.22.txz Perl extension for Redis protocol parser
p5-Ref-Util-0.204.txz Utility functions for checking references
p5-Ref-Util-XS-0.117.txz Utility functions for checking references (XS version)
p5-Reflex-0.100.txz Class library for flexible, reactive programs
p5-Regex-PreSuf-1.17_1.txz Regex::PreSuf - Given word lists, create regular expressions
p5-Regexp-Assemble-0.38.txz Assemble multiple Regular Expressions into one RE
p5-Regexp-Assemble-Compressed-0.02_1.txz Perl extension to compress Regular Expression