Github has an interesting feature which lets you browse the code and see
the last commit that touched a particular part of the code. Using that
it looks like saving and restoring the locale was added to the functions
in src/plcore.c by Alan on Sep 7, 2009.
The commit message:
"""
Protect all
Sorry, I was wrong in my last email - removing the locale calls from
plP_state as well (used to reset the width after a contour draw within
plshade) I ended up with a 2.5 times speed increase
Phil
On Mon, 29 May 2023 at 00:38, Phil Rosenberg
wrote:
> Hi all
> I have been making further optimisa
Just checking again if anyone has any knowledge of this?
As far as I can see, plsave_set_locale and plrestore_locale temporarily set
the LC_NUMERIC locale to "C" during calls to the driver. This sets the
decimal delimiter and the thousands separator and how many digits are
between the thousands se