|
From: | Nikolaj Schumacher |
Subject: | Re: Is X'ABCD' notation of general interest? |
Date: | Sun, 12 Apr 2009 23:25:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin) |
Thien-Thi Nguyen <ttn@gnuvola.org> wrote: > Something like the following (completely untested) code might be > faster than using `string-to-number': If you try to micro-optimize, you really should do some benchmarking... ;) `string-to-number' is a C function. It is nearly impossible to write anything faster in Lisp. On my system `string-to-number' is more than 10x faster than your function. regards, Nikolaj Schumacher
[Prev in Thread] | Current Thread | [Next in Thread] |