gyroid performance improvement equal to roughly square of volume

This commit is contained in:
Stewart Allen 2025-01-10 22:54:33 -05:00
commit 59d5388b61
2 changed files with 36 additions and 14 deletions

View file

@ -22,7 +22,6 @@ function slice(off, res, val) {
// or the requested resolution or tip values have changed
let now = Date.now();
if (res !== lastRes || val !== lastVal || now - lastSlice > 20000) {
// console.log({clear_cache: now});
cache = {};
}
lastVal = val;