gyroid performance improvement equal to roughly square of volume
This commit is contained in:
parent
aa0dacde13
commit
59d5388b61
2 changed files with 36 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue