GNU bug report logs - #63861
[PATCH] pp.el: New "pretty printing" code

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 2 Jun 2023 22:52:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #59 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: "Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>, 63861 <at> debbugs.gnu.org
Subject: Re: bug#63861: [PATCH] pp.el: New "pretty printing" code
Date: Wed, 07 Jun 2023 17:18:00 -0400
> No, more or less the same:

:-(

> (benchmark-run-compiled 1 (pp-buffer))
> => (48.501764747 0 0.0)
>
> I have modified my code so that it can be used outside help, you can
> test it with tv/pp-region. Here with always the same test buffer:
>
> (benchmark-run-compiled 1 (tv/pp-region (point-min) (point-max)))
> => (0.259444169 0 0.0)

Hmm... I think this depends on the data you're printing.
Any hope you can share the data you're using for your tests?
[ I understand it's personal, so it can be problematic.  Maybe you can
  anonymize with a search&replace of, say `[[:alpha:]]` to `x`?  ]


        Stefan





This bug report was last modified 2 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.