pcollections
pcollections copied to clipboard
avoid creating intermediate objects
As discussed in #74, using high-level methods in loops can create lots of wrapper objects, which can reduce performance.
An example of fixing this sort of thing is f58c25f.
- [ ] find places where this should be changed
- [ ] change them, ideally without breaking abstraction barriers too much
…relatedly, is it possible to implement IntTree.minusRange() in an efficient way?
see also #41