Hello,
I was generating a lagrge table with django and wondered why response is so slow (it has ~ 2000 x 10), so I rewrote
profiled ``floatformat`` and ``intcomma`` and wrote down their implementations using builtin functions only.
Take a look: https://gist.github.com/4007717
Floatformat became faster almost 65 times, and intcomma became almost 6 times faster.