django/django — pull request #2229 by mattrobenolt (2014-02-02 01:47:19+00:00)
Title: Switch DjangoJSONEncoder to use a dict lookup for types

Some applications JSON encode a lot of stuff, so this
micro-optimization may be significant. O(1) lookup vs O(n).