FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

non port: head/devel/p5-Readonly-XS/pkg-descr
SVNWeb

Number of commits found: 3

Wed, 27 Nov 2013
[ 20:45 sunpoet ] Original commit   Revision:335059
335059 devel/Makefile
335059 devel/p5-Readonly-XS
335059 devel/p5-Readonly-XS/Makefile
335059 devel/p5-Readonly-XS/distinfo
335059 devel/p5-Readonly-XS/pkg-descr
335059 devel/p5-Readonly-XS/pkg-plist
- Add p5-Readonly-XS 1.05

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.

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: http://search.cpan.org/dist/Readonly-XS/
Wed, 2 Aug 2006
[ 11:13 sat ] Original commit 
1.15868 /CVSROOT/modules
1.1107 MOVED
1.2387 devel/Makefile
1.2 devel/p5-Readonly-XS/Makefile
1.2 devel/p5-Readonly-XS/distinfo
1.2 devel/p5-Readonly-XS/pkg-descr
1.2 devel/p5-Readonly-XS/pkg-plist
devel/p5-Readonly-XS is included in devel/p5-Readonly

Reported by:    skv
Pointy hat to:  sat
[ 10:19 sat ] Original commit 
1.2385 devel/Makefile
1.1 devel/p5-Readonly-XS/Makefile
1.1 devel/p5-Readonly-XS/distinfo
1.1 devel/p5-Readonly-XS/pkg-descr
1.1 devel/p5-Readonly-XS/pkg-plist
Add port devel/p5-Readonly-XS:

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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 3

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
zabbix2-proxyAug 16
zabbix2-serverAug 16
zabbix22-proxyAug 16
zabbix22-serverAug 16
zabbix3-proxyAug 16
zabbix3-serverAug 16
zabbix32-proxyAug 16
zabbix32-serverAug 16
gitlab*Aug 15
py-supervisorAug 15
freeradius3Aug 14
mariadb100-server*Aug 12
mariadb101-server*Aug 12
mariadb55-server*Aug 12
mercurialAug 12

16 vulnerabilities affecting 118 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31101
Broken 168
Deprecated 92
Ignore 469
Forbidden 0
Restricted 210
No CDROM 84
Vulnerable 222
Expired 39
Set to expire 87
Interactive 0
new 24 hours 3
new 48 hours8
new 7 days57
new fortnight176
new month356

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.