diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-16 17:01:57 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-04-04 09:49:31 +0200 |
commit | 530f163a7f4f1f0ead119b8d3c3dd9fa882af9b2 (patch) | |
tree | ec3ea94eab8acd9dee73d3e0e21580d1611aea06 /src/eval.c | |
parent | f4833c88bbb3ca69f75e230a50bbd5edb4d5c00d (diff) | |
download | emacs-530f163a7f4f1f0ead119b8d3c3dd9fa882af9b2.tar.gz emacs-530f163a7f4f1f0ead119b8d3c3dd9fa882af9b2.tar.bz2 emacs-530f163a7f4f1f0ead119b8d3c3dd9fa882af9b2.zip |
Speed up comparisons between 2 fixnums
Since <, <=, > and >= have their own byte-ops, the corresponding
functions are mostly used as arguments to higher-order functions.
This optimisation is particularly beneficial for sorting, where the
comparison function is time-critical.
* src/data.c (Flss, Fgtr, Fleq, Fgeq):
* src/fileio.c (Fcar_less_than_car):
Fast path for calls with 2 fixnum arguments.
Diffstat (limited to 'src/eval.c')
0 files changed, 0 insertions, 0 deletions