empress
empress copied to clipboard
Refactor _keepUniqueKeys
This should add a nice speed boost.
Looking through the code, it looks like _keepUniqueKeys() actually doesn't depend on the state of Empress -- it doesn't use any this references or anything. We may be able to move it to a separate module and/or unit-test it now, which would help a lot when refactoring it. (Also I suspect that this function might be the cause of #152.)
I can take this one