unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Nikolaj Schumacher <me@nschum.de>
Cc: help-gnu-emacs@gnu.org, florian <lorian@fsavigny.de>
Subject: Re: Is X'ABCD' notation of general interest?
Date: Mon, 13 Apr 2009 16:12:47 +0200	[thread overview]
Message-ID: <87ab6klk0w.fsf@ambire.localdomain> (raw)
In-Reply-To: <m2tz4th8d5.fsf@nschum.de> (Nikolaj Schumacher's message of "Sun,  12 Apr 2009 23:25:58 +0200")

() Nikolaj Schumacher <me@nschum.de>
() Sun, 12 Apr 2009 23:25:58 +0200

   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.

Cool.

thi




      reply	other threads:[~2009-04-13 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 22:22 Converting strings of hexadecimal numbers to the respective bytes florian
2009-04-06 22:54 ` Juanma Barranquero
     [not found] ` <mailman.4740.1239058484.31690.help-gnu-emacs@gnu.org>
2009-04-09 10:05   ` Is X'ABCD' notation of general interest? (was: Converting strings of hexadecimal numbers to the respective bytes) florian
2009-04-09 12:24     ` Juanma Barranquero
2009-04-12 11:45     ` Is X'ABCD' notation of general interest? Thien-Thi Nguyen
2009-04-12 21:25       ` Nikolaj Schumacher
2009-04-13 14:12         ` Thien-Thi Nguyen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab6klk0w.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lorian@fsavigny.de \
    --cc=me@nschum.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).