Michael Greenberg

Results 78 comments of Michael Greenberg

~Use the visitor pattern to make Nodes implicit. This is orthogonal to lazy loading. (Can we make this optimizations on/off switches, for evaluation?)~ Since `Node`s are single level, this is...

Maybe? 😔 I played around a bit, but my MBP runs 10.13 and I don't really understand the homebrew docs. If you can get it to work, please submit a...

https://twitter.com/oilshellblog/status/1409929121254178820

Storing a file `.__listdir` in listlike directories seems simple to do. I've been thinking of these as options one turns on or off... but why not have it all on...

With these callbacks, it should be possible to strip out much more of dash's code, working with just the bare C parser and AST. It's important to be careful about...

This is effectively done in `shell_to_json` and `json_to_shell`... but not as a server.

These are amazing (a/k/a awful) performance issues, thanks for finding them!

Relatedly, `parse_arg` and `arg_char` are using the call stack when they shouldn't need to.

After #17 merges, the only remaining issue is the pervasively expensive string concatenation. Converting `to_string` to use [Buffer](https://v2.ocaml.org/api/Buffer.html) should resolve this last issue.