Alexander Belopolsky wrote: > We can start by reviewing the reasons for having separate > PyNumber/PySequence/PyMappingMethods structures. I believe that one of > the reasons is that many types need to allocate only one of the three. That much is probably true. > Numpy arrays, IIRC, allocate all three. A dedicated PyArrayMethods > struct can replace some if not all of these allocations. I don't see how. NumPy arrays allocate all three because they override just about every method in existence. Adding another struct isn't going to eliminate the need for the existing ones. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4