Daemon is only really useful if you're working on an application though where you're calling it VERY often and don't care about additional memory usage. Super useful for IDE integration too where you need instant feedback.
-
-
Show this thread
-
Being able to keep long-lived memory cache is useful, especially when you're performing multiple computations on a file. You can store ASTs in memory and then caching it in a bunch of places with weak maps.
Show this thread -
Allows you to reuse work a lot more efficiently which is useful for a type checker, bundler, optimizing compiler etc.
Show this thread
End of conversation
New conversation -
-
-
Also more context on what is actually being “memory cached”: Only the formatted code and errors for each file are cached. We are still computing all the possible files, filtering them with globs, talking to the workers to get their cached value, and printing it all.
Show this thread -
Biggest way I make this so fast is that I’ve written all the code, so it’s pretty easy for me to identify inefficiencies. I can change on piece to fit the performance characteristics of another (ie. changing API, integrating caches etc)
Show this thread
End of conversation
New conversation -
-
-
I am out of touch – what is Rome?
-
I've been tweeting about it all day.https://twitter.com/sebmck/status/1108407803545214977 …
- 2 more replies
New conversation -
-
-
Ok, ok - you win! Just release the damn thing already!

Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Gotdamn
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hot damn
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
he/him 