perl-Data-Reuse-0.10-alt4.1.i586.rpm


Advertisement

Description

perl-Data-Reuse - share constant values with Data::Alias

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Data-Reuse-0.10-alt4.1.i586.rpm
Package name perl-Data-Reuse
Package version 0.10
Package release alt4.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 22.54 KB
Installed size 22.54 KB
By default, Perl doesn't share literal ( 0, 'foo' , "bar" ) values.  That's
because once a literal value is stored in variable (a container), the contents
of that container can be changed.  Even if such a container is marked
"read-only" (e.g. with a module such as the Scalar::ReadOnly manpage), it will not
cause the values to be shared.  So each occurrence of the same literal value
has its own memory location, even if it is internally marked as read-only.
In an ideal world, perl would keep a single copy of each literal value
(container) and have all occurrences in memory point to the same container.
Once an attempt is made to change the container would perl make a copy of the
container and put the new value in there.  This principle is usually referred
to as Copy-On-Write (COW).  Unfortunately, perl doesn't have this.
Comes in the the Data::Alias manpage module which allows you to share containers
between different variables (amongst other things).  But it still does not
allow you to have literal values share the same memory locations.
Comes in this module, the the Data::Reuse manpage module, which allows you to easily
have literal and read-only values share the same memory address.  Which can
save you a lot of memory when you are working with large data structures with
similar values.  Which is especially nice in a mod_perl environment, where
memory usage of persistent processes is one of the major issues..
Of course, no memory savings will occur for literal values that only occur
once.  So it is important that you use the functionality of this module
wisely, only on values that you expect to be duplicated at least two times.

Alternatives

Package Version Architecture Repository
perl-Data-Reuse-0.10-alt4.1.x86_64.rpm 0.10 x86_64 Autoimports
perl-Data-Reuse - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Alias.pm) >= 1.160
perl(Digest/MD5.pm) -
perl(Encode.pm) -
perl(Scalar/Util.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/Reuse.pm) = 0.100
perl-Data-Reuse = 0.10-alt4.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Data-Reuse-0.10-alt4.1.i586.rpm
Source Package perl-Data-Reuse-0.10-alt4.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Reuse rpm package:
    # sudo apt-get install perl-Data-Reuse

Files

Path
/usr/share/doc/perl-Data-Reuse-0.10/CHANGELOG
/usr/share/doc/perl-Data-Reuse-0.10/README
/usr/share/perl5/Data/Reuse.pm

See Also

Package Description
perl-Data-StreamDeserializer-0.06-alt5.1.i586.rpm non-blocking deserializer
perl-Data-StreamSerializer-0.07-alt4.1.i586.rpm non-blocking serializer
perl-Data-Swap-0.08-alt4_20.i586.rpm Data-Swap module for perl
perl-Data-TxnBuffer-0.05-alt4.1.i586.rpm binary read/write buffer supporting transaction read
perl-Data-UUID-LibUUID-0.05-alt4.1.i586.rpm uuid.h based UUID generation (versions 2 and 4
perl-Data-Undump-0.15-alt4.1.i586.rpm Perl extension for securely and quickly deserializing simple Data::Dumper dumps
perl-Database-Sophia-0.9-alt3.1.i586.rpm Sophia is a modern embeddable key-value database designed for a high load environment (XS for Sophi
perl-Dblink-1.0-alt4.1.i586.rpm perl module Dblink
perl-Debug-FaultAutoBT-0.02-alt4.1.i586.rpm perl module Debug-FaultAutoBT
perl-Debug-Runopt-1.01-alt4.1.i586.rpm perl module Debug-Runopt
perl-Deep-Encode-0.19-alt3.1.i586.rpm Bulk encoding and decoding strings in Perl data
perl-DestructAssign-0.002007-alt3.1.i586.rpm Destructuring assignment
perl-Devel-Assert-1.06-alt3.1.i586.rpm assertions for Perl >= 5.14
perl-Devel-CCompat-C99-ScopedVariables-0.002-alt3.1.i586.rpm tests support for C99 scoped variables
perl-Devel-CCompat-C99-VariableLengthArrays-0.002-alt3.1.i586.rpm tests support for C99 variable length arrays
Advertisement
Advertisement