Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative models #20

Open
mgree opened this issue Jun 23, 2021 · 1 comment
Open

Alternative models #20

mgree opened this issue Jun 23, 2021 · 1 comment
Labels

Comments

@mgree
Copy link
Owner

mgree commented Jun 23, 2021

Lazy loading (scan but don't parse into structures until demanded). #50

Ahead-of-time mappings (literally build/unbuild FS).

Use 9p, per Jay McCarthy. Or use the Bento FS thing?

@mgree mgree added the research label Jun 23, 2021
@mgree
Copy link
Owner Author

mgree commented Sep 24, 2021

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 Nodes are single level, this is morally what we're doing already. (The visitor pattern would have us call some particular callback rather than reifying the Node structure. That's tiny microbenchmark territory.)

There is an opportunity for savings, though: can we reduce the copying/vectorization of maps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant