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

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

bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like


From: Paul Eggert
Subject: bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like
Date: Wed, 27 Sep 2017 13:11:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 09/27/2017 01:00 PM, John Wiegley wrote:
Is the performance gain worth the change?

It is for applications that heavily use 'format' with the optimized cases. For example, on my old desktop (AMD Phenom II X4 910e), the proposed patch speeds up the microbenchmark (format "%s" "Hello, world!") by a factor of 9. It also causes Emacs to use less RAM, though this is harder to measure.

Also, the change simplifies the Emacs source code, and that's a win even if the performance gain is small.






reply via email to

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