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

Memory & performance optimizations #51

Merged
merged 4 commits into from
Nov 25, 2017
Merged

Memory & performance optimizations #51

merged 4 commits into from
Nov 25, 2017

Conversation

nesaulov
Copy link
Owner

  1. Extracted some reusable strings, hashes and arrays into constants, so that new objects are not allocated on each method invokation.
  2. Converted some classes to modules as they are not instantiated or don't carry data along.

@nesaulov
Copy link
Owner Author

A preparation for #40 :)

@nesaulov nesaulov merged commit 343bd77 into master Nov 25, 2017
@nesaulov nesaulov deleted the optimizations branch November 25, 2017 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants