In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/b795c6e90c03b712a3fecc424179ab600d71be8a?hp=54161612423d90fe313643089d18d7a3a98460c7>

- Log -----------------------------------------------------------------
commit b795c6e90c03b712a3fecc424179ab600d71be8a
Author: Steffen Mueller <[email protected]>
Date:   Tue Aug 7 08:48:08 2012 +0200

    Data::Dumper: Updated changelog

M       dist/Data-Dumper/Changes

commit 55d1a9a4aa623c186c08de96b08b30ec2ea8e8ff
Author: Steffen Mueller <[email protected]>
Date:   Tue Aug 7 08:45:56 2012 +0200

    Data::Dumper: Fix tests for pure-Perl implementation
    
    Father Chrysostomos fixed vstring handling in both XS and pure-Perl
    implementations of Data::Dumper in
    de5ef703c7d8db6517e7d56d9c018d3ad03f210e.
    
    He also updated the tests for the default XS implementation, but it seems
    that he missed the test changes necessary for the pure-Perl implementation
    which now also does the right thing.

M       dist/Data-Dumper/t/dumper.t

commit 930a023ad9a27e4317e567e169a00e2002050cf1
Author: Steffen Mueller <[email protected]>
Date:   Mon Aug 6 20:14:47 2012 +0200

    Delta entry for Data::Dumper optimization

M       pod/perldelta.pod
-----------------------------------------------------------------------

Summary of changes:
 dist/Data-Dumper/Changes    |   19 +++++++++++++++++++
 dist/Data-Dumper/t/dumper.t |   24 ++++++++++++------------
 pod/perldelta.pod           |    5 +++++
 3 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/dist/Data-Dumper/Changes b/dist/Data-Dumper/Changes
index c8f2d39..cf741b0 100644
--- a/dist/Data-Dumper/Changes
+++ b/dist/Data-Dumper/Changes
@@ -6,6 +6,25 @@ HISTORY - public release history for Data::Dumper
 
 =over 8
 
+=item 2.135_07 (Aug 06 2012)
+
+Use the new utf8 to code point functions - fixing a potential
+reading buffer overrun.
+
+Data::Dumper: Sparseseen option to avoid building much of the seen
+hash: This has been measured to, in some cases, provide a 50% speed-up
+
+Dumper.xs: Avoid scan_vstring on 5.17.3 and up
+
+Avoid a warning from clang when compiling Data::Dumper
+
+Fix DD's dumping of qr|\/|
+
+Data::Dumper's Perl implementation was not working with overloaded
+blessed globs, which it thought were strings.
+
+Allow Data::Dumper to load on miniperl
+
 =item 2.135_02 (Dec 29 2011)
 
 Makes DD dump *{''} properly.
diff --git a/dist/Data-Dumper/t/dumper.t b/dist/Data-Dumper/t/dumper.t
index f75b017..a837d6f 100644
--- a/dist/Data-Dumper/t/dumper.t
+++ b/dist/Data-Dumper/t/dumper.t
@@ -1488,22 +1488,22 @@ EOT
 {
   # If XS cannot load, the pure-Perl version cannot deparse vstrings with
   # underscores properly.  In 5.8.0, vstrings are just strings.
-  $WANT = $] > 5.0080001 ? $XS ? <<'EOT' : <<'EOV' : <<'EOU';
-#$a = \v65.66.67;
-#$b = \v65.66.067;
-#$c = \v65.66.6_7;
-#$d = \'ABC';
-EOT
-#$a = \v65.66.67;
-#$b = \v65.66.67;
-#$c = \v65.66.67;
-#$d = \'ABC';
-EOV
+  my $no_vstrings = <<'NOVSTRINGS';
 #$a = \'ABC';
 #$b = \'ABC';
 #$c = \'ABC';
 #$d = \'ABC';
-EOU
+NOVSTRINGS
+  my $vstrings_corr = <<'VSTRINGS_CORRECT';
+#$a = \v65.66.67;
+#$b = \v65.66.067;
+#$c = \v65.66.6_7;
+#$d = \'ABC';
+VSTRINGS_CORRECT
+  $WANT = $] <= 5.0080001
+          ? $no_vstrings
+          : $vstrings_corr;
+
   @::_v = (
     \v65.66.67,
     \($] < 5.007 ? v65.66.67 : eval 'v65.66.067'),
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 1cf5a88..b892511 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -135,6 +135,11 @@ L<Storable> has been upgraded from version 2.37 to 2.38.  
It can now freeze
 and thaw vstrings correctly.  This causes a slight incompatible change in
 the storage format, so the format version has increased to 2.9.
 
+=item *
+
+L<Data::Dumper> has been optimized to only build a seen-scalar has as
+necessary, thereby speeding up serialization drastically.
+
 =back
 
 =head2 Removed Modules and Pragmata

--
Perl5 Master Repository

Reply via email to