]> git.eshelyaron.com Git - emacs.git/commit
Improve multibyte_length performance
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Apr 2020 22:46:37 +0000 (15:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Apr 2020 22:53:30 +0000 (15:53 -0700)
commite49d3a45cd4a0554aa98c45f0976ed513c500951
tree3d463db10afc042754f30a5dd301c8839cf4ff8a
parent199f146aee3a692a69d80135752d88cae0fe8c49
Improve multibyte_length performance

* src/character.h (multibyte_length):
Merge tests so that there are fewer conditional branches.
This improved CPU speed of ‘make compile-always’
by about 1.5% on my platform.
src/character.h