id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 25762 Optimize numberformat.format Jaap Roes "`numberformat.format` is used a lot by Django and in most cases it's called with a number. Yet the current implementation is pretty much built for strings. I've refactored the function to be up to 4x faster on my machine (and in the worst case it performs roughly the same). Attached is the benchmark script I've used. " Cleanup/optimization new Utilities dev Normal Johannes Maron Sarah Boyce Ülgen Sarıkavak Accepted 1 0 0 1 0 0