Merge: Faster lookup
authorJean Privat <jean@pryen.org>
Tue, 9 Aug 2016 01:18:27 +0000 (21:18 -0400)
committerJean Privat <jean@pryen.org>
Tue, 9 Aug 2016 01:18:27 +0000 (21:18 -0400)
commit6774d949b800f2ac49a264cd25806936d7aefc9f
tree7c5da3b6060e83228b4ce045331d7c8fd52ac57b
parent487fa951892c0910a542784cc2468cfd099d940f
parenta2e474612b529a350e12df7daaeeab663a94250a
Merge: Faster lookup

This series improves the lookup strategies:

* special fast track for the virtual type SELF
* choose to iterate on the mclassdefs instead of the mpropdefs if they are less numerous.

This mainly limit the degenerative cases that where discovered while investigating the slowdown of #2223

with nitc/nitc/nitc:
before: 0m7.168s
after: 0m6.232s

with nitpick ../contrib:
before: 0m20.928s
after: 0m19.432s

Pull-Request: #2245
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>