{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":["devel/p5-Readonly","lang/perl5.42"],"categories":["devel","perl5"],"comment":"Companion module for Readonly.pm, to speed up read-only scalar variables","compare":"/compare/p5-readonly-xs/index.json","dependentCount":null,"description":"This module corrects the speed problem, at least with respect to scalar\nvariables. When Readonly::XS is installed, Readonly uses it to access the\ninternals of scalar variables. Instead of creating a scalar variable object and\ntying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS\nstructure.\n\nReadonly arrays and hashes are not sped up by this, since the SvREADONLY flag\nonly works for scalars. Arrays and hashes always use the tie interface.\n\nPrograms that you write do not need to know whether Readonly::XS is installed or\nnot. They should just \"use Readonly\" and let Readonly worry about whether or not\nit can use XS. If the Readonly::XS is present, Readonly will be faster. If not,\nit won't. Either way, it will still work, and your code will not have to change.\n\nYour program can check whether Readonly.pm is using XS or not by examining the\n$Readonly::XSokay variable. It will be true if the XS module was found and is\nbeing used. Please do not change this variable.","flavors":[],"html":"https://daemonports.org/devel/p5-Readonly-XS/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Readonly-XS","newest":true,"newestVersion":"1.05","noVulnData":false,"origin":"devel/p5-Readonly-XS","otherSystems":[{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-Readonly-XS","path":"/openbsd/devel/p5-Readonly-XS/","system":"OpenBSD","version":"1.05p5"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/p5-Readonly-XS","path":"/netbsd/devel/p5-Readonly-XS/","system":"NetBSD","updated":"2026-07-16","version":"1.05nb17"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Readonly-XS","path":"/dragonfly/devel/p5-Readonly-XS/","system":"DragonFly","version":"1.05_2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Readonly-XS","path":"","system":"HardenedBSD","version":"1.05_2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Readonly-XS","path":"","system":"GhostBSD","version":"1.05_2"}],"packages":[{"repo":"FreeBSD:14:latest","versions":["1.05_2","1.05_2","1.05_2","1.05_2","1.05_2"]},{"repo":"FreeBSD:14:quarterly","versions":["1.05_2","1.05_2","n/a","1.05_2","1.05_2"]},{"repo":"FreeBSD:15:latest","versions":["1.05_2","1.05_2","n/a","1.05_2","1.05_2"]},{"repo":"FreeBSD:15:quarterly","versions":["1.05_2","1.05_2","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["1.05_2","1.05_2","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"p5-Readonly-XS-1.05_2","related":null,"repository":"FreeBSD ports","requiredBy":[],"requiredByCount":0,"runDepends":["devel/p5-Readonly","lang/perl5.42"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"1.05_2","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Readonly-XS"}
