MCPcopy Create free account
hub / github.com/badvision/jace / removeOldestState

Method removeOldestState

src/main/java/jace/state/StateManager.java:377–386  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375 }
376
377 private void removeOldestState() {
378 if (alphaState == null) {
379 return;
380 }
381 if (alphaState.nextState == null) {
382 alphaState = null;
383 } else {
384 alphaState = alphaState.deleteNext();
385 }
386 }
387 // Don't capture for the first few seconds of emulation. This is sort of a
388 // hack but is also a very elegant way to help the emulator avoid wasting
389 // time at start since the emulator state changes a lot at first.

Callers 1

captureStateMethod · 0.95

Calls 1

deleteNextMethod · 0.80

Tested by

no test coverage detected