[JSC] Make StringRecursionChecker faster in the simple cases without any recursion
Created attachment 253281 [details] Patch
Comment on attachment 253281 [details] Patch I really like this optimization. I wish, however, that instead of custom code we had a class that was “HashSet plus single element kept outside the set”. Then this fix would just be changing the class name from HashSet to that new class. In theory. If the class was designed and implemented tightly enough. I’d really like to be able to apply this kind of optimization trivially in various places.
(In reply to comment #2) > Comment on attachment 253281 [details] > Patch > > I really like this optimization. > > I wish, however, that instead of custom code we had a class that was > “HashSet plus single element kept outside the set”. Then this fix would just > be changing the class name from HashSet to that new class. In theory. If the > class was designed and implemented tightly enough. I’d really like to be > able to apply this kind of optimization trivially in various places. I believe Alex is working on that.
Comment on attachment 253281 [details] Patch Clearing flags on attachment: 253281 Committed r184447: <http://trac.webkit.org/changeset/184447>
All reviewed patches have been landed. Closing bug.