santinic / pampy

Pampy: The Pattern Matching for Python you always dreamed of.
MIT License
3.51k stars 125 forks source link

Possible C module? #4

Closed kimond closed 5 years ago

kimond commented 5 years ago

Pampy is pretty small (150 lines), reasonably fast.

Reasonably fast

I didn't try pampy yet but I was wondering if a C native module would help to improve the speed?

Numpy has some parts written in C to improve performance.

This is just a minor suggestion. Perhaps it is completely useless.

santinic commented 5 years ago

Thanks Kim, but I don't think a C extensions would make much difference.