summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-03-16 17:01:57 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-04-04 09:49:31 +0200
commit530f163a7f4f1f0ead119b8d3c3dd9fa882af9b2 (patch)
treeec3ea94eab8acd9dee73d3e0e21580d1611aea06 /src/eval.c
parentf4833c88bbb3ca69f75e230a50bbd5edb4d5c00d (diff)
downloademacs-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