OF-1007: Don't over-optimize.
Instead of a Set, the existing code uses a Map with empty string values 'for performance'. I am not buying it. Perhaps true in some performance test long, long ago, but there won't be any significant performance increase in doing this (it's just as likely to introduce a performance penalty). In any case, when we're running into a performance bottleneck here, we've got bigger fish to fry.
Showing
Please register or sign in to comment