> From: Ralph Corderoy
> Sent: Tue Nov 26 11:07:36 CET 2019
> To:
> Subject: [arch-general] Fedora Speeds Up Python 3.
>
>
> Hi,
>
> I thought this might be of interest.
> https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
>
Oh I remember why I didn't override libpython functions with LD_PRELOAD.
Python is statically linked to libpython in Ubuntu, which I was using at
the time, so it didn't work. Fedora decided not to go that far, but yeah,
Ubuntu has already taken that plunge.
If LD_PRELOADing libpython doesn't work
Ah, that's interesting.
I thought that would break my GIL profiling project that uses LD_PRELOAD
(shameless plug: https://github.com/chrisjbillington/gil_load), but since I
think I'm only overriding libc functions, it should be fine.
I'm sure there are other things it will break (I could have ove
Hi,
I thought this might be of interest.
https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
By building with -fno-semantic-interposition they remove the PLT that
provides a level of indirection when calling a libpython function.
libpython often calls itself and the PLT ad
4 matches
Mail list logo