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 |
14de0f74d3e2 |
children |
5c914fbcb042 |
(asdf:defsystem #:bones-test
:description "Test suite for bones."
:author "Steve Losh <steve@stevelosh.com>"
:license "MIT/X11"
:depends-on (#:bones
#:fiveam)
:serial t
:components ((:file "package-test")
(:module "test"
:serial t
:components ((:file "bones")
(:file "circle")
(:file "paip")
(:file "wam")))))