Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [b8359d] Maximize Restore History

Reading floats with large exponents no longer takes too much time.

Reading 1.0s1000000000000000 will attempt to construct a very large
bignum, which takes a considerable amount of time just to report in
the end that it cannot be represented as a float. Truncate the
exponent to manageable size before raising it.

Fixes lp#309070. Thanks to Paul Khuong for the help.

Stas Boukarev Stas Boukarev 2012-08-31

changed src/code/reader.lisp
changed tests/reader.pure.lisp
changed NEWS
src/code/reader.lisp Diff Switch to side-by-side view
Loading...
tests/reader.pure.lisp Diff Switch to side-by-side view
Loading...
NEWS Diff Switch to side-by-side view
Loading...