Should I reuse Points and Rectangles or create new ones?
Posted
by Newtang
on Stack Overflow
See other posts from Stack Overflow
or by Newtang
Published on 2010-03-12T06:54:54Z
Indexed on
2010/03/12
6:57 UTC
Read the original article
Hit count: 129
In a method that gets called frequently, like a painting event, is it more efficient to reuse Point and Rectangle Objects (for specifying locations and bounds), or should I create new ones.
© Stack Overflow or respective owner