Has there been historical work done to investigate small integer optimization?

Vincent Lefevre vincent at vinc17.net
Mon Feb 12 14:54:07 CET 2024


On 2024-02-12 08:18:09 -0500, Stefan Koch wrote:
> This was mostly my idea.  I thought that if _mp_alloc was small enough (in
> most cases 1), then  instead of _mp_d being the pointer to the first lib it
> was just the first limb.

Note that the size of a limb may be larger than the size of a pointer.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-devel mailing list