I made Idris code generation about 6 times faster (for my current project, at least) with a hack that took about an hour to implement. Nothing is ever this easy. I'm scared now. There must be a surprise lurking...
-
Show this thread
-
Although, when I say "took about an hour to implement" that ignores the "took most of the rest of the week to think about" part. Just to be clear :).
2 replies 2 retweets 41 likesShow this thread -
-
Replying to @ielliott95
Implemented trampolines in the generated C, so I no longer have to rely on clang optimising tail calls. This is a huge win at compile time, and only a little bit expensive at run time (and recoverable by turning the optimisation on again).
1 reply 0 retweets 7 likes
Replying to @edwinbrady @ielliott95
I resisted this for ages because I thought it would be lots of work. But in the end the patch was only a few lines. Oops!
3:43 PM - 21 Jun 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.