Closed fnordfish closed 4 years ago
concurrent-ruby dropped support for ruby < 1.9.3 (and corresponding JRuby, Rubinius). This is obviously a deal breaker if memoizable wants/needs to support older rubies.
concurrent-ruby dropped support for ruby < 1.9.3 (and corresponding JRuby, Rubinius). This is obviously a deal breaker if memoizable wants/needs to support older rubies.
I'd be totally fine to support only 2.0 upwards. And I see a high chance in @dkubb agreeing to such a change.
I'm not yet 100% sure if we do want concurrent-ruby
filling for thread_save
I've yet to look at the implementation. As I need memoizable
transitively for my mutant tool and I need to have it run on 2.4 soon I'll have to look into it.
@fnordfish concurrent-ruby
is not the most logical choice anymore. its quite a heavy dependency for the "simple" operation memoizable does.
Instead I'd prefer to use my much smaller variable gem to back the Memory
class with an IVar
.
The main benefit is that this gem is fully mutation tested. Where concurrent-ruby
is not.
@mbj, fair enough. Should we close this one then?
@fnordfish Lets do so.
headius/thread_safe was merged into https://github.com/ruby-concurrency/concurrent-ruby and is no longer maintained.
This makes use of the new
Concurrent::Map
, replacingThreadSafe::Cache