Dylan Baker
a72840cd2e
pylint: enable use-a-generator
...
This catches some optimization problems, mostly in the use of `all()`
and `any()`. Basically writing `any([x == 5 for x in f])` vs `any(x == 5
for x in f)` reduces the performance because the entire concrete list
must first be created, then iterated over, while in the second f is
iterated and checked element by element.
2022-10-04 00:33:04 -04:00
Volker Weißmann
5f3c7125cc
Applied tristan957's suggestions
2022-07-18 13:46:26 +02:00
Volker Weißmann
cdd2dca174
cmake module: Better warnings and error messages in some cases.
2022-07-18 13:46:26 +02:00
Daniel Mensinger
42843c4cf6
cmake: Add TARGET_ generator expression support ( fixes #9305 )
2022-01-23 13:22:59 +01:00
Daniel Mensinger
99aae9b4df
cmake: Move generator expression evaluation to the end of the traceparser
2022-01-23 13:22:47 +01:00
Daniel Mensinger
0e777e7c90
cmake: CMakeTraceParser improvements
...
- handle cached CMake variables differently
- associate variables with source files
- better performance (str to Path and generator expressions)
2021-05-29 13:20:25 +02:00
Daniel Mensinger
fc80518a07
typing: fully annotate cmake.generator
2020-09-28 13:51:19 +02:00
Daniel Mensinger
bee74eea16
cmake: Parse a subset of generator expressions
2019-07-31 17:50:02 +02:00