News for hackers. Stuff that matters.
Re:Solutions to Integer Overflow by junke on Saturday September 03, 2016 @05:24AM (#12418474)
That's the case in practice (both the internal limits and the optimizations). For example Common Lisp's ARRAY-TOTAL-SIZE-LIMIT is a fixnum. The default numeric type is not bignum, however, the numeric tower is here to use them only when needed.
Re:Solutions to Integer Overflow by SamReidHughes on Saturday September 03, 2016 @05:48AM (#12418535)
That distinction is a common lisp-ism. A "bignum" implementation in the context of this article won't allocate for the small values.