aah ! ok, it looks like it’s working, but is it normal that it’s so slow ? I mean we can see some performance impact on 600 LoC files, and 1000 LoC gets almost 10 seconds to be analyzed when it was only less than a second before.
Am I missing something here ? or do we really have to rework this regex ?
Could changing the java memory allocated to the sonarscanner change this you think ?
I reviewed the implementation and indeed it may affect the use case regex and big files. I created a ticket to improve that: CPP-2513. Thank you for the feedback or we would have not spotted it.