Ok @Arne I'm really confused about what you're trying to test for.
This gives type casting a free pass because it's pre-processing of the data. What you did with the polars code incorporates the type casting on every run, so it will obviously lose. What matters most here?