summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-06-18 19:40:26 +0200
committerNicholas Clark <nick@ccl4.org>2011-06-23 09:13:08 +0200
commit7c4202907c499a6fd1a41da6fdf1d414ecadeb37 (patch)
treea00edff88a93ca56e1f0e1fee154cb200ded7d55
parent6bb18b54070eef37fdc718ad193cd88a1569f0cd (diff)
downloadperl-7c4202907c499a6fd1a41da6fdf1d414ecadeb37.tar.gz
Add PERL_NO_GET_CONTEXT to Math::BigInit::FastCalc.
For threaded platforms, this reduces the object code size significantly, and should slightly reduce CPU usage.
-rw-r--r--dist/Math-BigInt-FastCalc/FastCalc.xs2
-rw-r--r--dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm2
-rw-r--r--pod/perldelta.pod7
3 files changed, 10 insertions, 1 deletions
diff --git a/dist/Math-BigInt-FastCalc/FastCalc.xs b/dist/Math-BigInt-FastCalc/FastCalc.xs
index 9f9bb5e377..a8247c9508 100644
--- a/dist/Math-BigInt-FastCalc/FastCalc.xs
+++ b/dist/Math-BigInt-FastCalc/FastCalc.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
diff --git a/dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm b/dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm
index 9abb12091f..ecb57c1ff5 100644
--- a/dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm
+++ b/dist/Math-BigInt-FastCalc/lib/Math/BigInt/FastCalc.pm
@@ -8,7 +8,7 @@ use Math::BigInt::Calc 1.993;
use vars '$VERSION';
-$VERSION = '0.28';
+$VERSION = '0.29';
##############################################################################
# global constants, flags and accessory
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 457e4c4f95..37c4dc92b2 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -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