More Optimizations
maralorn opened this issue · comments
maralorn commented
- Use enum-type for platforms
- Replace dense intmaps with arrays. (Maybe make an opaque data type with fast reverse lookup hidden away.)
- Consider throwing away derivations and store paths if they really don’t matter. (Basically implementing a garbage collector.)
- More debugging: Use ghc-debug to figure out which parts of the state are the biggest.