Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

coafile optimization #58

Open
ksdme opened this issue May 4, 2018 · 2 comments
Open

coafile optimization #58

ksdme opened this issue May 4, 2018 · 2 comments

Comments

@ksdme
Copy link
Member

ksdme commented May 4, 2018

Currently coala runs all the bears specified in .coafile irrespective of whether issues generated by them can be reported back to the editor. Some kind of runtime filtering of such bears could improve performance of the ls.

@gaocegege
Copy link
Member

Yhea, while it means that we need to implement a syntax parser or reuse the logic about parsing in coala, IMO. I am not sure if regex could do the filter work.

@ksdme
Copy link
Member Author

ksdme commented May 4, 2018

We could also mutate the internal state of coala, a hacky solution though. https://github.com/coala/coala/blob/25e019cdd944532f969d5cf1079afd7d62f41e19/coalib/processes/Processing.py#L733

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants