Why is this simple function twice as slow as its Python version

By the way, I think it is a classic example for something like Batch Mode (Something similar to what @Elrod did in his code).

1 Like