Kozea/pygal — pull request #59 by signed0 (2013-09-09 21:52:55+00:00)
Title: Use hasattr instead of dir

`dir()` is insanely slow since it has to create and sort a list each time. Switching to `hasattr` provides a nice 10x speedup.