The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.030507

  • Make inclusion of none/gcdext.c conditional on its existence, not on version. Workaround a bug in Perl configuration: remove -s and -Ofoo from (cc|ld|lddl)flags if OPTIMIZE=-g is given gnukfreebsd(lddl) cygwin strawberry openbsd netbsd linux(lddl) New file gdbinit-my (quasi-documentation inside it). Avoid a leak with workErrsv, make worksv optimized. New macro renewWorkSv to reuse when the old value was already REFCNT_dec'ed. Leak on restart disappears: after about 6min of running, the working space stabilizes on the level (Start=5M)+(256K). Make t/00_Pari.t set PARI_DEBUG if MATHPARI_T_DEBUG is in environment. Compensate for: In >= 2.5.0 the definition of taille() and taille2() are mixed up. Down to 5 crashes (from 8). dumpStack() renamed to __dumpStack(). XXXX should not be used at all: it assumes the entry point to “the region on stack” is at its smallest address. New function dumpStack() for dumping our values on stack. XXXX evalstate_reset() resets avma!!! Need to grab cb_pari_handle_exception(). (Need also to find avma for every eval{} level — and for eval ''... ??? What about globally visible SVs???) In cb_pari_handle_exception(), do not let evalstate_reset() reset avma! Down to 3 crashes.
  • XXX allocatemem() should check whether it is called from inside a PARI function. Avoid extra copying of strings in the interface creation. We were not ignoring the Perl argument for 'V' in the flexible interfaces. Down to 1 crash. Initialize pari_colormap (to a saner value than GP), pari_graphcolors. No crashes!

Modules

Perl interface to PARI.
load Math::Pari with specified $primelimit and $initmem.
utility functions used during configuration of Math::Pari.

Provides

in Pari.pm