Unexpected problem coming from a naïve "optimization". Shows that sometimes it's better to just leave code as simple as possible rather than implementing "clever" optimizations.
Especially in something so fundamental as the base class for all Sets in the collections framework.
1 comment
[ 1.9 ms ] story [ 13.1 ms ] threadUnexpected problem coming from a naïve "optimization". Shows that sometimes it's better to just leave code as simple as possible rather than implementing "clever" optimizations.
Especially in something so fundamental as the base class for all Sets in the collections framework.