Comment #1 on issue 981 by firewave: Qt mapping file causes major slowdown
https://github.com/include-what-you-use/include-what-you-use/issues/981
FYI It's so slow it's essentially broken. With other files it takes 10+ minutes until the first result even shows up whereas without the mappings the whole bunch is done in less than 3.
> Interesting. The Qt mappings are heavy on regex mappings to cover for `<>` and `""` transparency, and they are pretty exhaustive. Qt 5.11 mappings in tree contain about 2300 include mappings and 1500 symbol mappings.
In my case it is Qt 5.15.2 and the mappings files contains 2973 lines.
> I suspect the regex form causes a linear scan for ~each include mapping~ every time a header mapping is attempted. I wonder if it's time to think through removing quotes from mappings. I've been putting it off because it feels like it might turn into an impossible problem.
That's what I thought as well while looking at the file.
I am curious why this just started happening with the one of the previous versions. It was still working fine in April (I don't know which version it was since Kali/Debian is usually a bit behind - this time they updated extremely fast).