3 ms·
" My thought is to write it in Python, profile it, and if needed, rewrite the slow parts in C. " Your thinking is correct though sometimes, even with the best
by pyb 2y ago
" My thought is to write it in Python, profile it, and if needed, rewrite the slow parts in C. "
Your thinking is correct though sometimes, even with the best intentions, people stop at the first step. Fixing code that already works is usually not a high priority task.