Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimised Common Lisp code #5

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bpecsek
Copy link

@bpecsek bpecsek commented Aug 3, 2021

My tiny take on it.

Just some code refactoring, minor optimizations in a few places, some inlining, and additional type and optimization declarations here and there.

I've set block compilation on resulting in better speed so please compile the file before use and change xxx.lisp to xxx.fasl in benchmark.sh.

It is more than 2x faster than the original Common Lisp version.

My setup:
M1 MacBook Air.
SBCL-2.1.7
Java Zulu16.32+15-CA (build 16.0.2+7)
rustc 1.53.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant