emacs-devel
[Top][All Lists]
Advanced

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

Re: Loading souce Elisp faster


From: Richard Stallman
Subject: Re: Loading souce Elisp faster
Date: Mon, 25 Feb 2013 16:51:36 -0500

    The fast path (used by elc) parses the data straight from the file,
    whereas the slow path loads the file into a buffer (which includes any
    decoding if needed) and only then passes the resulting byte-stream to
    the parser.

If the coding system were known in advance to be utf-8, it would
still need to be read into a buffer, decoded, and parsed from there.

You can see how fast this would be by putting a coding tag
on the file.  How fast is it, compared with reading source
without the coding tag?  How fast is it, compared with reading the compiled
file?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




reply via email to

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