Closed amuino closed 10 years ago
The code for active? in monkey_patch.rb always adds a feature to the Redis features set.
active?
monkey_patch.rb
features
Is there any reason why this can't be done just once (I'm thinking on keeping a ruby Set or Hash with the features that have already been added).
Redis is fast, but doing nothing is still faster.
I could submit a pull request for this.
Thanks for logging this issue (and your patience)! I'm tending the garden, so to speak, and will be closing this as a duplicate of #28. Feel free to weigh in on that PR and/or experiment with that solution.
The code for
active?
inmonkey_patch.rb
always adds a feature to the Redisfeatures
set.Is there any reason why this can't be done just once (I'm thinking on keeping a ruby Set or Hash with the features that have already been added).
Redis is fast, but doing nothing is still faster.
I could submit a pull request for this.