Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Class-XSAccessor-1.19-3.13 RPM for riscv64

From OpenSuSE Ports Tumbleweed for riscv64

Name: perl-Class-XSAccessor Distribution: openSUSE Tumbleweed
Version: 1.19 Vendor: openSUSE
Release: 3.13 Build date: Tue Nov 26 08:35:24 2013
Group: Development/Libraries/Perl Build host: reproducible
Size: 95344 Source RPM: perl-Class-XSAccessor-1.19-3.13.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Class-XSAccessor/
Summary: Generate fast XS accessors without runtime compilation
Class::XSAccessor implements fast read, write and read/write accessors in
XS. Additionally, it can provide predicates such as 'has_foo()' for testing
whether the attribute 'foo' exists in the object (which is different from
"is defined within the object"). It only works with objects that are
implemented as ordinary hashes. the Class::XSAccessor::Array manpage
implements the same interface for objects that use arrays for their
internal representation.

Since version 0.10, the module can also generate simple constructors
(implemented in XS). Simply supply the 'constructor => 'constructor_name''
option or the 'constructors => ['new', 'create', 'spawn']' option. These
constructors do the equivalent of the following Perl code:

  sub new {
    my $class = shift;
    return bless { @_ }, ref($class)||$class;
  }

That means they can be called on objects and classes but will not clone
objects entirely. Parameters to 'new()' are added to the object.

The XS accessor methods are between 3 and 4 times faster than typical
pure-Perl accessors in some simple benchmarking. The lower factor applies
to the potentially slightly obscure 'sub set_foo_pp {$_[0]->{foo} =
$_[1]}', so if you usually write clear code, a factor of 3.5 speed-up is a
good estimate. If in doubt, do your own benchmarking!

The method names may be fully qualified. The example in the synopsis could
have been written as 'MyClass::get_foo' instead of 'get_foo'. This way,
methods can be installed in classes other than the current class. See also:
the 'class' option below.

By default, the setters return the new value that was set, and the
accessors (mutators) do the same. This behaviour can be changed with the
'chained' option - see below. The predicates return a boolean.

Since version 1.01, 'Class::XSAccessor' can generate extremely simple
methods which just return true or false (and always do so). If that seems
like a really superfluous thing to you, then consider a large class
hierarchy with interfaces such as the PPI manpage. These methods are
provided by the 'true' and 'false' options - see the synopsis.

'defined_predicates' check whether a given object attribute is defined.
'predicates' is an alias for 'defined_predicates' for compatibility with
older versions of 'Class::XSAccessor'. 'exists_predicates' checks whether
the given attribute exists in the object using 'exists'.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Tue Nov 26 2013 coolo@suse.com
  - updated to 1.19
    - Remove the OP tree munging optimization since it wasn't in the
      end really speeding things up. (chocolateboy)
    - Require Time::HiRes explicitly because CentOS cripples the base
      perl install.
* Sat Jul 27 2013 coolo@suse.com
  - updated to 1.18
    - Revert fixes for implicitly-lvalue getters for now since that
      actually breaks user code. It seems it's not just because the
      users are naughty, so more investigation required.
    - For Hashes: Implement predicates that check definedness and
      existance explicitly. The traditional "predicates" check
      definedness. It's conceivable to also want a bool-check
      type predicate. File a ticket if you need that.
    - Fix bug regarding getters being implicitly lvalue by
      returning the internal SV*. Instead, we now use TARG.
* Mon Jun 03 2013 coolo@suse.com
  - updated to 1.16
    - Drop erroneous MYMETA files from distribution.
    - Support for hash keys with NUL (\0) characters. Previously,
      these were truncated.
    - Skip some failing tests on old debugging perls. Guys, please
      upgrade your perl!
* Mon Feb 27 2012 coolo@suse.com
  - updated to 1.13
    - Removes the cached read-only and read-write accessors
      for the time being. (These were only available from another
      development releasse.
    - Much more brutal thread-safety testing.
    - Fixed thread-safety problem with the global hashkey storage.
    - Lots of refactoring in the C code.
    - Instead of storing an index in the CV, we store a pointer to
      the hashkey struct.
    - Implements cached read-only and read-write accessors.
      Details on what that means are in the documentation.
* Mon Sep 19 2011 coolo@suse.com
  - updated to 1.12
    - Reclaim compatibility with the most recent versions of
      ExtUtils::ParseXS.
    - Explicit tests for wrong-type invocants.
* Mon Sep 19 2011 coolo@suse.com
  - updated to 1.11
* Mon Jun 20 2011 coolo@novell.com
  - change license
* Mon Dec 27 2010 pascal.bleser@opensuse.org
  - initial package (1.11)

Files

/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/Class
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/Class/XSAccessor
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/Class/XSAccessor.pm
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/Class/XSAccessor/Array.pm
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/Class/XSAccessor/Heavy.pm
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/Class
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/Class/XSAccessor
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/Class/XSAccessor/XSAccessor.so
/usr/share/doc/packages/perl-Class-XSAccessor
/usr/share/doc/packages/perl-Class-XSAccessor/Changes
/usr/share/doc/packages/perl-Class-XSAccessor/README
/usr/share/man/man3/Class::XSAccessor.3pm.gz
/usr/share/man/man3/Class::XSAccessor::Array.3pm.gz
/usr/share/man/man3/Class::XSAccessor::Heavy.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Nov 13 00:41:02 2024