Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call self._get_tools() once in a life time of an object #8

Closed
aglyzov opened this issue Mar 31, 2014 · 1 comment
Closed

Call self._get_tools() once in a life time of an object #8

aglyzov opened this issue Mar 31, 2014 · 1 comment
Milestone

Comments

@aglyzov
Copy link
Owner

aglyzov commented Mar 31, 2014

Too make it more efficient we should only call self._get_tools() once, presumably inside init(). This is especially true for Green classes since they use expensive utils.detect_green_env() and utils.get_green_tools() under the hood.

@AxelVoitier
Copy link
Collaborator

Indeed, I was not aware it was an expensive call. I will try to fix that.

@AxelVoitier AxelVoitier added this to the 0.4 milestone Apr 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants