You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The local swap functions are closing over state. Make them take the parent and left/right indices. To do this just return the left/right indices and wrap the callers in (setf parent-index ...).
You can lexibind some aref lookups that are called multiple times, particular the parent, left, and right priority.
In some various other places in the codebase, you can also lexibind the aref calls that are called more than once. I forget where though.
Also read-eval (ash 1 64) just to be sure it's a constant for implementations that don't do constant folding for whatever reason.
The text was updated successfully, but these errors were encountered:
https://gist.github.com/mfiano/3ddf2810cf8101f66009c3fdde8b020b
Also read-eval
(ash 1 64)
just to be sure it's a constant for implementations that don't do constant folding for whatever reason.The text was updated successfully, but these errors were encountered: