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

Cache is not a proper resource manager #2

Open
viltit opened this issue Mar 9, 2017 · 0 comments
Open

Cache is not a proper resource manager #2

viltit opened this issue Mar 9, 2017 · 0 comments

Comments

@viltit
Copy link
Owner

viltit commented Mar 9, 2017

The class Cache avoids the repeated loading and parsing of xml and obj files as well as textures. However, we still copy a lot of data that could be shared (for example, every mesh stores all its vertices, even if there are several identical meshes).

Also, the cache does not delete unused resources.

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

No branches or pull requests

1 participant