memory storage and widget suggests that has is an expensive operation and to perform the check once in initialize() and store the boolean as a member variable for the future.
We use has in several places where it is called repeated. Suggest we need to make a similar change.
memory storage and widget suggests that
has
is an expensive operation and to perform the check once ininitialize()
and store the boolean as a member variable for the future.We use
has
in several places where it is called repeated. Suggest we need to make a similar change.