-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 blending #158
Cache blending #158
Conversation
@@ -312,6 +322,20 @@ bool Terrain::check_tile_position(coord::tile pos) { | |||
|
|||
} | |||
|
|||
void Terrain::modify_tile(coord::tile pos) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it called modify_tile
although it deletes tiles from the cache?
It looks ok so far, I'm not sure whether we can boost that a bit more. Did you do some performance tests? |
I'm messing around with the gperf branch right now to do some performance testing. It can definitely be improved, especially whenever a new chunk is added. |
e278d7c
to
58a07bd
Compare
Please rebase this pullreq and maybe rename the |
I wonder how github claims to be able to auto-merge this... shouldn't |
f955e84
to
dd9109e
Compare
dd9109e
to
2219c4c
Compare
fix the indent, rebase, squash, merge! 👍 |
will be done in #287 hopefully. |
Blending data is now cached, implements issue #154.