knittingpattern
knittingpattern copied to clipboard
Make Data Structure faster
The knittingpatternset is really inefficient. because lookups of positions are put to many locations.
- [ ] meshes should cache their positions
- [ ] instructions should cache their positions
- [ ] meshes first look up via their cache, then the instruction and then compute anew
Hints:
- This must be tested
- Test cache misses and cache usage and cache usage after a miss