OpenPNM
OpenPNM copied to clipboard
Fix performance regression in `trim` method
I rewrote the trim method during the _skgraph refactor and it's much slower than the version that was in topotools. It's much clearer and shorter, but much slower.