Though I have read a bit about simdjson I'm not super familiar with how it works, so please forgive me if this is a silly question.

Since simdjson is where a lot of the performance benefits come from here, would you need to compile the underlying C/C++ code on the machine that you're deploying on to make sure that simdjson is using the correct instruction set? Like what if the processor I'm compiling on has AVX-512 support, but the target machine for deployment doesn't? Does it just generate the machine code for all instruction sets and then can automatically choose to use the optimal instructios at runtime? Or does it just have to compile every time you pip install the package? I could see this being awkward if you're building a docker container perhaps, but maybe I'm just woefully uninformed.

The README mentions this: > Selects a CPU-tailored parser at runtime. No configuration needed.

https://github.com/simdjson/simdjson