[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preparation for use of XS paragraph formatting module
From: |
Eli Zaretskii |
Subject: |
Re: Preparation for use of XS paragraph formatting module |
Date: |
Mon, 29 Jun 2015 20:42:55 +0300 |
> Date: Mon, 29 Jun 2015 18:27:53 +0100
> From: Gavin Smith <address@hidden>
>
> As you may know I've been rewriting Paragraph.pm, the formatter module
> for paragraphs, in C, to be used as a loadable XS module by Perl. Due
> to Perl's slow text processing capabilities, paragraph formatting
> takes up a sizable proportion of the run-time of makeinfo/texi2any
> when outputting an Info file.
>
> For comparison, here's the timing of a run using the Perl Paragraph.pm
> on the sources of the Emacs Lisp manual (about 3.3 megs of Texinfo
> source):
>
> real 0m54.751s
> user 0m46.124s
> sys 0m0.266s
>
> Now using the C replacement:
>
> real 0m34.367s
> user 0m29.865s
> sys 0m0.267s
Thanks, it would be great to see this kind of speedup.
- Preparation for use of XS paragraph formatting module, Gavin Smith, 2015/06/29
- Re: Preparation for use of XS paragraph formatting module,
Eli Zaretskii <=
- Re: Preparation for use of XS paragraph formatting module, Patrice Dumas, 2015/06/29
- Re: Preparation for use of XS paragraph formatting module, Gavin Smith, 2015/06/29
- Re: Preparation for use of XS paragraph formatting module, Patrice Dumas, 2015/06/30
- Re: Preparation for use of XS paragraph formatting module, Gavin Smith, 2015/06/30
- Re: Preparation for use of XS paragraph formatting module, Karl Berry, 2015/06/30
- Re: Preparation for use of XS paragraph formatting module, Gavin Smith, 2015/06/30
- Re: Preparation for use of XS paragraph formatting module, Karl Berry, 2015/06/30