[Python-Dev] Re: Is anyone using 15-bit PyLong digits (PYLONG_BITS_IN_DIGIT=15)?

2022年1月01日 13:06:26 -0800

On 2021年12月31日 11:18:34 +0000
Mark Dickinson <[email protected]> wrote:
> 
> It looks as though the next step would be to run some integer-intensive
> benchmarks on 32-bit ARM, with both --enable-big-digits=15 and
> --enable-big-digits=30. If those show a win (or at least, not a significant
> loss) for 30-bit digits, then there's a case for at least making 30-bit
> digits the default, which would be a first step towards eventually
> dropping that support.
Note that ARM is merely an architecture with very diverse
implementations having quite differing performance characteristics. If
the concern is truly to have no performance regression, then tests on
different CPU models would probably be required. Of course, we may
also not be that concerned (do embedded platforms often rely on
Python's bigint performance, for example?).
> GPS: I'm not immediately seeing the ABI issue. If you're able to dig up
> more information on that, I'd be interested to see it.
We don't have an ABI (except the stable ABI which doesn't expose object
internals), so this should be fine.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/WRD7EZIU7HBUKVR4WSKGM5DFR5LX5UPF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to