GoogleHashCode2017
GoogleHashCode2017 copied to clipboard
v0.01-alpha refactoring
Performance measures show huge overhead on logging and getAllAvailableSteps method.
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!