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

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
p5-Readonly-XS Companion module for Readonly.pm, to speed up read-only scalar variables
1.05_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 02 Aug 2006 10:20:57
Also Listed In: perl5
License: ART10 GPLv1
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/
SVNWeb : Homepage : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-Readonly>=1.02 : devel/p5-Readonly
  2. perl5.18.4 : lang/perl5.18
Runtime dependencies:
  1. p5-Readonly>=1.02 : devel/p5-Readonly
  2. perl5.18.4 : lang/perl5.18
There are no ports dependent upon this port

To install the port: cd /usr/ports/devel/p5-Readonly-XS/ && make install clean
To add the package: pkg install devel/p5-Readonly-XS


Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Readonly/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Readonly/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Readonly/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Readonly/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Readonly/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Readonly/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Readonly/
  8. http://backpan.perl.org/modules/by-module/Readonly/
  9. http://cpan.metacpan.org/modules/by-module/Readonly/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Readonly/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Readonly/
  13. http://www.cpan.dk/modules/by-module/Readonly/
  14. http://www.cpan.dk/modules/by-module/Readonly/
  15. http://www.cpan.org/modules/by-module/Readonly/

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Nov 2014 13:08:38
Original commit files touched by this commit  1.05_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  1.05
Revision:371547
bapt search for other commits by this committer
Cleanup plist
10 Jun 2014 12:14:14
Original commit files touched by this commit  1.05
Revision:357300
mat search for other commits by this committer
Remove all the bootstrap files (.bs) from the plists.

Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
27 Nov 2013 20:45:07
Original commit files touched by this commit  1.05
Revision:335059
sunpoet search for other commits by this committer
- 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/
02 Aug 2006 11:13:50
Original commit files touched by this commit  1.04
sat search for other commits by this committer
devel/p5-Readonly-XS is included in devel/p5-Readonly

Reported by:    skv
Pointy hat to:  sat
02 Aug 2006 10:19:55
Original commit files touched by this commit  1.04
sat search for other commits by this committer
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: 6

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chronyApr 18
sqlite3Apr 18
dulwichApr 17
wesnothApr 17
qt4-guiApr 14
qt4-imageformatsApr 14
qt5-guiApr 14
ruby20Apr 14
ruby21Apr 14
ruby22Apr 14
mailmanApr 09
asterisk11Apr 08
asterisk13Apr 08
ntpApr 07
ntp-develApr 07

10 vulnerabilities affecting 30 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 24680
Broken 263
Deprecated 39
Ignore 535
Forbidden 1
Restricted 204
No CDROM 95
Vulnerable 21
Expired 0
Set to expire 32
Interactive 0
new 24 hours 2
new 48 hours2
new 7 days15
new fortnight30
new month109

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