Marchowes / pyProm

Surface Network Analyzer.
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

0.6.3 - Internal changes to Multipoints, perimeters and more #142

Closed Marchowes closed 5 years ago

Marchowes commented 5 years ago

This PR removes GridPoints as the internal storage for Perimeters and Multipoints. These objects are created frequently, and are costly to create/store. instead, we can use tuples which work just as well in most cases and are far lighter.

Using tuples also saves us time/space when serializing to cbor

Marchowes commented 5 years ago

Not linting this one, will wait for bigger PR.