-
Committer:
Bradley Harms
-
Date:
2011-01-10 18:48:07 UTC
-
Revision ID:
themusicguy123@gmail.com-20110110184807-1j8clrrc4xj8vnzm
- >
Another slight optimization based on closures; by placing the occurrences of
`self.__class__` inside the Rect definition with references to `from_rect`,
`from_xywh`, etc. it is possible to effectively enclose the classmethods
within the other methods. (See apglib/geometry/rect.py:456). This appears to
have raised the fps slightly (~1 fps)