This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add PERL_NO_GET_CONTEXT to ODBM_File
authorNicholas Clark <nick@ccl4.org>
Mon, 21 Mar 2011 16:27:23 +0000 (16:27 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 16 Jun 2011 10:25:50 +0000 (11:25 +0100)
For threaded platforms, this reduces the object code size, and should slightly
reduce CPU usage.

ext/ODBM_File/ODBM_File.pm
ext/ODBM_File/ODBM_File.xs
pod/perldelta.pod

index caf8c72..5c8d10b 100644 (file)
@@ -7,7 +7,7 @@ require Tie::Hash;
 require XSLoader;
 
 our @ISA = qw(Tie::Hash);
-our $VERSION = "1.10";
+our $VERSION = "1.11";
 
 XSLoader::load();
 
index 463f8e8..15c1725 100644 (file)
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
index 8133f35..0bc47fc 100644 (file)
@@ -389,6 +389,13 @@ Eliminated use of C<exists> on array elements which has been deprecated.
 
 =item *
 
+L<ODBM_File> has been upgraded from version 1.10 to version 1.11.
+
+The XS code is now compiled with C<PERL_NO_GET_CONTEXT>, which will aid
+performance under ithreads.
+
+=item *
+
 L<PerlIO::encoding> has been upgraded from version 0.14 to 0.15
 
 =item *