canonical / chisel

GNU Affero General Public License v3.0
248 stars 39 forks source link

refactor: split slicer into steps and remove unnecessary state #136

Closed letFunny closed 1 month ago

letFunny commented 1 month ago

Streamline slicer.go moving all of the non essential functionality to self-contained function / abstractions and adding comments where necessary. Most importantly, combine all maps that recorded information about paths into one (knownPaths, pathInfos and pathUntil) and record the information in the same place instead of during several stages.