miller
miller copied to clipboard
Switch to generics [internal]
Miller was ported to Go before generics existed, but they've been part of the Go language for quite a while now.
Main items:
list.List-- awkward to genericize (namelyFront,Back,Next) -- but it's better to simply use slices which are (and have always been) typed- Genericize Miller's
lib.OrderedMap
Why:
- Improved code legibility
- Moving from linked lists to sliced may positively impact performance due to simpler memory allocation
- Good development project