bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#67536: 29.1; Calc mode's math-read-preprocess-string conses unnecess


From: Raffael Stocker
Subject: bug#67536: 29.1; Calc mode's math-read-preprocess-string conses unnecessarily
Date: Fri, 01 Dec 2023 18:34:10 +0100
User-agent: mu4e 1.10.8; emacs 29.1

Eli Zaretskii <eliz@gnu.org> writes:

> Thanks, sounds like a good optimization to me.

Splendid!

I cleaned it up a bit and ran a few tests against the original function
using an empty string, a string without anything to replace and a string
requiring many replacements.  It seems to behave just as the original.

I use cl-flet and (eval-when-compile (require 'cl-lib)).  I hope that is
ok.

Regards,
Raffael

Attachment: 0001-lisp-calc-calc-aent.el-math-read-preprocess-string-c.patch
Description: optimized math-read-preprocess-string


reply via email to

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