Optimize circles a bit
After reviewing some disassembly elsewhere I realized that declaring a function
to return `(values)` and adding that form actually prevents last-call
optimization, at least in SBCL. It's a cleaner API, but it wastes lots of stack
frames.
Save the frames, kill the `(values)`.
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 11 Jul 2016 19:56:43 +0000 |
parents |
410acaae0c14 |
children |
31305584b29b |
(2 code-push-instruction!)
(1 repeat)
(2 define-instruction define-instructions)
(1 with-database)
(3 with-cell)
(2 set-when-unbound)
(1 recursively)
(1 when-let)
(1 rule)
(0 push-logic-frame-with)