diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-10 18:02:08 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-10 18:20:37 +0200 |
commit | cfda663282b788972c344e6733a8aa60a3e0f545 (patch) | |
tree | 988cf3745e6057b79180a659aa4c9071acf6a1da /lisp/net/browse-url.el | |
parent | 4bab499ed0d40d4e5ca68e5a17bcf5341125f734 (diff) | |
download | emacs-cfda663282b788972c344e6733a8aa60a3e0f545.tar.gz emacs-cfda663282b788972c344e6733a8aa60a3e0f545.tar.bz2 emacs-cfda663282b788972c344e6733a8aa60a3e0f545.zip |
Speed up string-to-unibyte
* src/character.h (str_to_unibyte):
* src/character.c (str_to_unibyte): Remove.
* src/fns.c (Fstring_to_unibyte): Ditch the call to str_to_unibyte and
the unnecessary heap allocation. Write new, faster code.
* test/src/fns-tests.el (fns--string-to-unibyte): New test.
Diffstat (limited to 'lisp/net/browse-url.el')
0 files changed, 0 insertions, 0 deletions