Garrett Johnson 5 years ago
parent
commit
b0a4087cbd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/base/TilesRendererBase.js

+ 1 - 0
src/base/TilesRendererBase.js

@@ -9,6 +9,7 @@ import { UNLOADED, LOADING, PARSING, LOADED, FAILED } from './constants.js';
 // TODO: See if declaring function inline improves performance
 // TODO: Make sure active state works as expected
 
+// Function for sorting the evicted LRU items. We should evict the shallowest depth first.
 const lruSort = ( a, b ) => a.__depth - b.__depth;
 
 export class TilesRendererBase {