Conversation
|
👍 agreed, seems like an improvement to me even if we don't consider performance. |
|
I think it's #2124 that this (hopefully) fixes, incidentally. |
|
Oops, right you are! |
|
Looks good! How does the profiler output look now? Note (not sure if you're aware or not, but I'll record it here anyway) that Stack will make a profiling build with stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"(taken from here) If you run Creating a separate Stack working directory with |
|
I haven't got anything significant I can try it on yet, since this is the 0.9 branch. |
|
Ah right, of course. Even building something like The other hotspot in the profile was a space leak in the lexer, which the |
Resolves #2124 (maybe). It avoids the lists anyway, and improves the code in most places where the list was used previously.