Use arity-dispatched procedures for MAP, FOR-EACH, &c.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 10 Feb 2019 04:34:34 +0000 (04:34 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 10 Feb 2019 04:37:28 +0000 (04:37 +0000)
commitc0f440fe8abb982ff7377b6d97ecea9250bfcd4a
treec11adcad7a84f78e253e8cf658ee564cfb61bfeb
parentaf44f134ff14d787a1b6aeeef14b9a25e5b3ef8d
Use arity-dispatched procedures for MAP, FOR-EACH, &c.

Requires shuffling initialization order in make.scm a little bit so
that we can call MAKE-ARITY-DISPATCHED-PROCEDURE in list.scm.

Saves a trip through the microcode to compute the lexpr for each call
to MAP and FOR-EACH, which turned up hot in profiles.
src/runtime/list.scm
src/runtime/make.scm