Add PERL_NO_GET_CONTEXT to Math::BigInit::FastCalc.
authorNicholas Clark <nick@ccl4.org>
Sat, 18 Jun 2011 17:40:26 +0000 (19:40 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 23 Jun 2011 07:13:08 +0000 (09:13 +0200)
For threaded platforms, this reduces the object code size significantly, and
should slightly reduce CPU usage.

dist/Math-BigInt-FastCalc/FastCalc.xs
dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm
pod/perldelta.pod

index 9f9bb5e..a8247c9 100644 (file)
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
index 9abb120..ecb57c1 100644 (file)
@@ -8,7 +8,7 @@ use Math::BigInt::Calc 1.993;
 
 use vars '$VERSION';
 
-$VERSION = '0.28';
+$VERSION = '0.29';
 
 ##############################################################################
 # global constants, flags and accessory
index 457e4c4..37c4dc9 100644 (file)
@@ -130,6 +130,13 @@ using L<IPC::Open3> on MSWin32 without requiring L<IPC::Run>.
 L<attributes> has been upgraded from version 0.14 to 0.15, as part of the
 lvalue attribute warnings fix.  See L</Selected Bug Fixes>, below.
 
+=item *
+
+L<Math::BigInt::FastCalc> has been upgraded from version 0.28 to version 0.29.
+
+The XS code is now compiled with C<PERL_NO_GET_CONTEXT>, which will aid
+performance under ithreads.
+
 =back
 
 =head2 Removed Modules and Pragmata