cl-qrencode
cl-qrencode copied to clipboard
Performance optimizations.
Together these changes reduce run time by about 50%, and similarly reduce consing to about 40%. Please take a look and check whether they work for you; my minimal testing was successful.
The biggest remaining offender is EVALUATE-FEATURE-2 - but I'm not sure I understand what this is checking, so I'm not up to modifying that.
Thank you!
Forgot a bugfix commit, sorry - included in the force-push.
Thanks for your help!
I have not been active on github lately, will look into it
ping...
Hi!
I just stumbled upon all that again...
Looking at the tests (to find out about the failing test mentioned in #11) I found that your 0de2d8a3877b499a9a0bbb0a9e1247056ae4311e doesn't compile cleanly, the test functions use a wrong function signature ;/
Well, I fixed my perf
branch for current SBCL (the :initform
type test change); in 6fd84ed3a770ec2882ef2319225c2bc89ebf4713 you can find a test script with some (old) results.
Should we just disable the failing test if no-one knows what it's about?
ping?
WOW, long time no see!
I have been busy at work and have been away from github for sooo long, will definitely look into this!
Thanks again for your help
I'm also pondering to change the bit-lists into a bit-array - or to use bignum support to avoid all the bit-list fiddling at all.
See also https://gist.github.com/jdz/3831dc3b5af5cb76b18b14384216913c.