-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Labels
Description
I noticed that cpplint calls GetHeaderGuardCPPVariable(filename) for each line. I believe cpplint should call it only once per file.
I removed the redundant function calls from my c++ implementation of cpplint, which reduced execution time by about 10%.
I think it's worth trying a similar optimization with cpplint.py.