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

Add CL version #43

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

Conversation

anon00000000
Copy link

Extremely slow, even with maximum optimization. As I'm a bit novice to CL, this may be my fault, but I doubt it, and SBCL storing Unicode text as array of codepoints instead of raw UTF-8 may be a culprit.

Redid PR without Tcl included, a bit new to the Github PR system.

@anon00000000
Copy link
Author

Sample performance (vs Perl):

> sbcl --script common_lisp/benchmark.lisp input-text.txt
484.000 - 92
316.001 - 5301
411.999 - 5
> perl perl/benchmark.pl input-text.txt
87.682009 - 92
59.686184 - 5301
19.659042 - 5

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