by knutae · 9y ago · 0 comments
[1]> (eq (expt 2 47) (expt 2 47))
T
[2]> (eq (expt 2 48) (expt 2 48))
NIL
Explanation here: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node17.htmlre python: this is of course superlame. the compiler can easily detect "is <int>" and forbid the const int table optimization. Only "is None" would make sense.