◐ Shell
clean mode source ↗

Message 259715 - Python tracker

Nice enhancement.

/* Fast path; single digit will always fit decimal.
   This improves performance of FP/long operations by at
   least 20%. This is even visible on macro-benchmarks.
*/

I'm not sure that "spectral_norm" can be qualified as macro-benchmark. It's more a microbenchmark on numerics, no? I'm just nitpicking, your patch is fine ;-)