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

Reply via email to