GoogleHashCode2017 icon indicating copy to clipboard operation
GoogleHashCode2017 copied to clipboard

v0.01-alpha refactoring

Open LyashenkoGS opened this issue 7 years ago • 0 comments

Performance measures show huge overhead on logging and getAllAvailableSteps method. screen shot 2017-02-01 at 11 42 08 am The project was run via:

mvn exec:java -Dexec.mainClass="com.google.hashcode.App"

finished with exeption: medium.in exeption.txt

Estimate for the end of refactoring -> 1 hour to perform pizza slicing for all the pizzas'

Solution:

  • decrease logging for big slices. Put an if to toString methods based on an entity size
  • perform method getAvailableSteps for a part of start positions. //TODO more precise description and a diagram

The issue implementation shouldn't break the algorithm fo example.in file!

LyashenkoGS avatar Feb 01 '17 09:02 LyashenkoGS