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

unified cache folder #44

Open
Wumpf opened this issue Feb 14, 2021 · 0 comments
Open

unified cache folder #44

Wumpf opened this issue Feb 14, 2021 · 0 comments
Labels

Comments

@Wumpf
Copy link
Owner

Wumpf commented Feb 14, 2021

There's plenty of data that wants caching for fast startup (and thus fast iteration!)
Should introduce a more intelligent/unified caching scheme that allows automatically removing outdated cache files.

Uses so far:

  • compiled shaders
  • signed distance fields
  • hdr cubemap

should have a subfolder in a .cache folder for each of those. Instead of file hashing, just always rely on file modified date (good enough!). Evict old objects on cache miss

@Wumpf Wumpf added Hackery and removed Hackery labels Feb 14, 2021
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