performance - How to fix java intermittent lags? -
the same code in project has different execution duration same input parameters, varies 1ms 30ms.
private void link(array values, area area){ values.add(area); array<area> children = area.getchildren(); (int i=0; i<children.size; i++){ area child = children.get(i); link(values, child); } }
this lags inappropriate. can fix them?
intermittent lags caused garbage collection.
Comments
Post a Comment