all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: how to build emacs without documentation?
Date: Wed, 14 Aug 2013 12:49:09 -0400	[thread overview]
Message-ID: <jwv1u5wb4qe.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.3136.1376411515.12400.help-gnu-emacs@gnu.org

> Because they implemented makeinfo in Perl, and made it a real
> translator, that builds an intermediate parse tree representation, and
> then invokes an appropriate back-end to produce output.  By contrast,
> the original makeinfo was a one-pass converter which left most of the
> text intact and just acted on the few directives, expanding them
> in-line.

Still: parsing should be fairly trivial, and rendering to Info (almost
plain text) shouldn't be all that hard either.  Yet, makeinfo is
significantly slower than running the same file through TeX to get
a beautiful PDF.

E.g. "cd doc/lispref; rm elisp.pdf; make pdf" took me 16s first time
(because it had to generate some auxiliary font data, apparently) and 4s
second time around.

In comparison, "rm info/elisp.info; time make info" says that it needed
57s to make up the elisp.info file.  More than 10 times slower to do
a simpler job.

There must be either something I'm missing, or some serious performance
bug somewhere.


        Stefan


  parent reply	other threads:[~2013-08-14 16:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3001.1376231269.12400.help-gnu-emacs@gnu.org>
2013-08-13 14:51 ` how to build emacs without documentation? Stefan Monnier
2013-08-13 15:26   ` Rustom Mody
2013-08-13 16:32   ` Eli Zaretskii
     [not found]   ` <mailman.3136.1376411515.12400.help-gnu-emacs@gnu.org>
2013-08-14 16:49     ` Stefan Monnier [this message]
2013-08-14 17:56       ` Eli Zaretskii
2013-08-11 14:27 Gregor Zattler
2013-08-13 15:52 ` Glenn Morris

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

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

  git send-email \
    --in-reply-to=jwv1u5wb4qe.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.