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

Garbage Collection? #37

Open
ptarjan opened this issue May 20, 2017 · 0 comments
Open

Garbage Collection? #37

ptarjan opened this issue May 20, 2017 · 0 comments

Comments

@ptarjan
Copy link

ptarjan commented May 20, 2017

How does your memoize library deal with garbage collection? Will it release the memory if the instance who's method is memoized goes away? What about the parameters?

I tried looking at your code and you have a hash memoized_methods which I can't seem to find the definition of and your project doesn't bundle for me to test locally:

$ bundle
Fetching https://github.com/rom-rb/devtools.git
Fetching https://github.com/mbj/mutant.git
The dependency jruby-openssl (~> 0.9.4) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "rspec":
  In Gemfile:
    rspec (~> 3.0.0)

    devtools was resolved to 0.1.17, which depends on
      rspec (~> 3.5.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant