Files
emacs/test/lisp
Stefan Kangas 7c3d3b8335 Convert apropos-internal from C to Lisp (Bug#44529)
This runs insignificantly faster in C, and is already fast enough on
reasonably modern hardware.  We might as well lift it to Lisp.
This benchmark can be used to verify:

  (benchmark-run 10 (apropos-command "test"))
  => (0.12032415399999999 2 0.014772391999999995) ; C
  => (0.13513192100000002 2 0.017216643000000004) ; Lisp

* lisp/subr.el (apropos-internal): New defun, converted from C.
* src/keymap.c (Fapropos_internal): Remove defun.
(apropos_accum): Remove function.
(apropos_predicate, apropos_accumulate): Remove variables.
(syms_of_keymap): Remove defsubr for Fapropos_internal, and
definitions of the above variables.
* test/src/keymap-tests.el (keymap-apropos-internal)
(keymap-apropos-internal/predicate): Move tests from here...
* test/lisp/subr-tests.el (apropos-apropos-internal)
(apropos-apropos-internal/predicate): ...to here.
2020-12-19 19:54:46 +01:00
..
2020-08-29 22:41:51 +02:00
2020-11-03 21:20:17 -08:00
2020-12-14 19:30:01 +01:00
2020-12-02 12:26:04 +01:00
2020-01-01 00:59:52 +00:00
2020-12-14 15:11:05 +01:00
2020-12-13 03:59:33 +02:00
2020-12-08 08:57:22 +01:00
2020-08-27 02:53:25 +02:00
2020-01-01 00:59:52 +00:00
2020-11-25 12:18:23 +01:00
2020-09-21 14:26:42 +02:00
2020-01-01 00:59:52 +00:00
2020-10-02 09:38:24 -07:00
2020-12-08 08:57:22 +01:00
2020-08-27 02:53:25 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-06-21 12:50:34 +01:00
2020-08-27 02:53:25 +02:00
2020-08-27 02:53:25 +02:00
2020-09-21 14:26:42 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-20 15:52:27 +01:00
2020-10-10 07:50:20 -07:00
2020-08-27 02:53:25 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 01:08:16 +00:00
2020-10-01 23:34:01 +02:00