|
From: | John Wiegley |
Subject: | bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like |
Date: | Wed, 27 Sep 2017 13:00:08 -0700 |
User-agent: | Gnus/5.130016 (Ma Gnus v0.16) Emacs/26.0 (darwin) |
>>>>> "PE" == Paul Eggert <eggert@cs.ucla.edu> writes: PE> Although the Lisp manual said that ‘format’ returns a newly-allocated PE> string, this was not true for a few cases like (format "%s" ""), and PE> fixing the documentation to allow reuse of arguments lets us improve PE> performance in common cases like (format "foo") and (format "%s" "foo"). Is the performance gain worth the change? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
[Prev in Thread] | Current Thread | [Next in Thread] |