This website requires JavaScript.
Explore
Help
Sign In
miloignis
/
kraken
Watch
1
Star
0
Fork
0
You've already forked kraken
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
997
Commits
2
Branches
0
Tags
3009b62f5ec1ffda60379cb943b743b9727a2ec9
Commit Graph
2 Commits
Author
SHA1
Message
Date
Nathan Braswell
3009b62f5e
Mostly eliminating Y combinator at compilation time by putting function values in memo early if we have env_val and we put in the anti-recursion hash from the partially evaled call that returned this comb, and then compiling calls also looks for its recursion-stopped hashes in memo. To finish the transformation, I need to perform an Eta-reduction as well, but we've already got over half of the speedup from eliminting the Y part and just leaving (lambda (& y) (lapply <now_const_func!> y)).
2022-04-14 02:49:00 -04:00
Nathan Braswell
6fa2c44619
Add no_compile option to test more staight dynamic eval with a fib and fact test. Compiled is faster, though only 2x on fib - I imagine the hot inner loop isn't actually doing a lot that can be partial evaled, it's the outside. Will need tests that excercise more
2022-03-19 01:48:58 -04:00