This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge Storable::{,net_}pstore and Storable::{,net_}mstore using ALIAS.
authorNicholas Clark <nick@ccl4.org>
Sun, 31 Oct 2010 20:32:20 +0000 (20:32 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 31 Oct 2010 20:35:54 +0000 (20:35 +0000)
commitbc618d8e27c89135d9376156897345be8539c527
treeaf28ab31817951f94c9637290a89fb9e78df22f3
parent7bbf947b84c2a0700fd31acb7a31342cd0b8f796
Merge Storable::{,net_}pstore and Storable::{,net_}mstore using ALIAS.

Remove the static functions {,net}[mp]store(), which were trivial wrappers
around do_store(). Instead call do_store() directly, using the ALIAS index
as the flag. Less code.

On this platform, this reduces the object code by over 1K. (Over 1%)
dist/Storable/Storable.pm
dist/Storable/Storable.xs