[Ecls-list] Slow bignums
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Jan 28 07:12:53 UTC 2010
On Thu, Jan 28, 2010 at 1:09 AM, Waldek Hebisch <hebisch at math.uni.wroc.pl>wrote:
> If ECL's consing numbers have anything common with reality, then
> ECL is consing too much. AFAIK sbcl bignum routines takes a lot
> of effort to allocate temporaries on stack, so only final results
> of arithmetic operations are allocated on the heap.
I think you are attributing too much cleverness to SBCL. A simple
disassembly of the code shows that SBCL is all the time calling GENERIC-*
and GENERIC-+ that allocate data in the ordinary heap.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100128/7ea751f4/attachment.html>
More information about the ecl-devel
mailing list