Is your feature request related to a problem? Right now, the center point calculation of a Region object is done within the Region#center() method. While this may be acceptable, this code is not optimal and should ideally be executed once within the constructor.
Below is an example on how much this method impacts performance. This method may take up to 300 micro seconds at worse, 0-1 micro seconds being when the code isn't executed.
Is your feature request related to a problem? Right now, the center point calculation of a Region object is done within the
Region#center()
method. While this may be acceptable, this code is not optimal and should ideally be executed once within the constructor.Below is an example on how much this method impacts performance. This method may take up to
300 micro seconds
at worse,0-1 micro seconds
being when the code isn't executed.