ow Integers Should Work
bearophile
bearophileHUGS at lycos.com
Mon Dec 5 09:33:57 PST 2011
Andrei Alexandrescu:
> Agreed. One thought that comes to mind is using the small int
> optimization for BigInt, i.e. use no dynamic allocation and built-in
> operations whenever possible if the value is small enough. Does BigInt
> currently do that?
Both the small int optimization (32 or 64 bit? To be decided still), and the memory pool for bigints are not yet implemented. This also means the recent suggested improvements of the GC are able to improve the performance of code that use BigInts (I have already verified it).
Bye,
bearophile
More information about the Digitalmars-d
mailing list