emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: integer overflow


From: Stefan Monnier
Subject: Re: integer overflow
Date: Sat, 06 Mar 2010 16:26:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)

> read doesn't seem the right tool for this job; read is for parsing Lisp
> syntax.

I can partly agree with the feeling, but since writing a lexer&parser in
Elisp results in fairly poor performance, it's common to (ab)use the
Lisp reader when possible.

The use of bignums would probably be a generally better option than
floats, but noone has tried to solve this yet (there have been some
patches that add bignums, but they still require a fair bit of work).


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]