Merge CaveBiomeMapView
and InterpolatableCaveBiomeMapView
#601
Labels
optimization
a performance problem that should be addressed or an optimization idea
refactor
shuffle a lot of code around
terrain
Milestone
The only difference between the two is that the
CaveBiomeMapView
creates storage for an additional layer of 2d noise.This noise layer could be moved into a separate cache, instead of regenerating (and reallocing) it every time.
And when it's just fetched from a cache, there is no reason, why we can't use it in the
InterpolatableCaveBiomeMapView
as well.At same time it could also save some performance.
The text was updated successfully, but these errors were encountered: