Closed
Description
There are a few reasons why I believe we should consider abandoning the polyfill:
- It's a performance risk. Someone might not realise that they don't have the extension enabled or share code with someone that doesn't have the extension installed, which results in a very inefficient implementation of the structures.
- It's blocking some changes in the extension, like operator overloading on sets (for diff, xor, union and complement) and the ability to allow
==
to behave like it does for arrays. - There isn't a good reason for anyone to use the polyfill on purpose. If they don't have access to their environment to install the extension, they shouldn't be using the library at all.
- It's extra work to maintain the polyfill, extension and tests in separate repositories. If we drop the polyfill we can move the tests into the extension repository and tag them together.