Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove hash allocation in Store#namespace_key
Previously, every call to `namespace_key` would merge the options given with the Store's default options. This unnecessarily allocates a new hash when all `namespace_key` needs is the `namespace` option. This commit removes the allocation by simply checking the default options after checking that the passed options do not contain a `namespace` key.
- Loading branch information