Home
last modified time | relevance | path

Searched refs:splayTree (Results 1 – 2 of 2) sorted by relevance

/external/v8/benchmarks/
Dsplay.js46 var splayTree = null; variable
76 } while (splayTree.find(key) != null);
78 splayTree.insert(key, payload);
85 splayTree = new SplayTree();
94 var keys = splayTree.exportKeys();
95 splayTree = null;
116 var greatest = splayTree.findGreatestLessThan(key);
117 if (greatest == null) splayTree.remove(key);
118 else splayTree.remove(greatest.key);
/external/v8/benchmarks/spinning-balls/
Dv.js59 var splayTree = void 0; variable
159 do { key = GenerateKey(); } while (splayTree.find(key) != null);
168 splayTree.insert(key, point);
184 var greatest = splayTree.findGreatestLessThan(key);
186 var point = splayTree.remove(key).value;
188 var point = splayTree.remove(greatest.key).value;
480 splayTree = new SplayTree();