4 ms·
Right, but if there's only a small portion of my code that does string search and it's a hot path, it would still be much much much more convenient to access SI
by jgalt212 1y ago
Right, but if there's only a small portion of my code that does string search and it's a hot path, it would still be much much much more convenient to access SIMD-based string search code direct from Python rather than writing the code (LLM or not) in another language and then construct bindings (LLM or not).
- kristianp 1y agoYou can use cython and call C SIMD code from it.
- adgjlsfhk1 1y ago2 problems. 1. Python's data types are all bad for performance 2. once you optimize once part, a new part will be the bottleneck