[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] [Groff] What does the "-u" in ".tmac-u" mean?
From: |
Larry Kollar |
Subject: |
Re: [groff] [Groff] What does the "-u" in ".tmac-u" mean? |
Date: |
Sat, 11 Nov 2017 21:32:11 -0500 |
> Werner LEMBERG <address@hidden> wrote:
>
> It's not about saving disk space. Remember that groff is an
> interpreted language *without* a translation to an internal
> representation.[*] This means, for example, that a comment within a
> loop with 1000 repeats gets parsed a thousand times, again and again.
> Ditto for not stripped-off leading spaces. Similarly, longer macro
> names take a longer time for being parsed. This can make a
> significant difference even today for operations that should be as
> fast as possible.
Groff is, compared to most other formatting systems, blazing-fast.
When I was using it to format my documentation at work, on what is
now a 10 year old laptop, it made two passes through what became
a 700-900 page manual (depending on what was included) to produce
a PDF in less than 2 minutes. That included the Ghostscript run to
turn the 100MB PS file into a PDF. The book had many complex tables,
pic files, and EPS files.
From that experience, worrying about a few milliseconds spent on
comments seems a little excessive. If not stripping comments can
streamline the install process, and make it easier for people delving
into the macro sets to understand what’s happening, I think that’s
time well spent.
Larry
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, (continued)
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Ingo Schwarze, 2017/11/05
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Ralph Corderoy, 2017/11/05
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Werner LEMBERG, 2017/11/05
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Ingo Schwarze, 2017/11/05
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Peter Schaffter, 2017/11/05
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Ingo Schwarze, 2017/11/06
- Re: [groff] [Groff] What does the "-u" in ".tmac-u" mean?,
Larry Kollar <=
- Re: [groff] [Groff] What does the "-u" in ".tmac-u" mean?, Ted Harding, 2017/11/12
- Re: [groff] What does the "-u" in ".tmac-u" mean?, Ralph Corderoy, 2017/11/12
- Re: [groff] What does the "-u" in ".tmac-u" mean?, G. Branden Robinson, 2017/11/12
- Re: [groff] What does the "-u" in ".tmac-u" mean?, Ingo Schwarze, 2017/11/13
- Re: [groff] What does the "-u" in ".tmac-u" mean?, Ralph Corderoy, 2017/11/13
- Re: [Groff] What does the "-u" in ".tmac-u" mean?, Bjarni Ingi Gislason, 2017/11/05
Re: [Groff] What does the "-u" in ".tmac-u" mean?, Ingo Schwarze, 2017/11/02
Re: [Groff] What does the "-u" in ".tmac-u" mean?, hj.oertel, 2017/11/05