Repository navigation
Commit d198cf3
simplify: eliminate duplicate set_index, vectorize astype, use list.append
- Pass pre-built cs_index to _get_elements_to_be_rendered instead of
rebuilding set_index("cs") inside the function
- Vectorize astype("bool") to a single assignment over content_flags
- Replace += [elem] with .append(elem) in render cmd loop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c0f1e76 commit d198cf3
2 files changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
| 1060 | + | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
| 351 | + | |
353 | 352 | | |
354 | 353 | | |
355 | 354 | | |
| |||
2093 | 2092 | | |
2094 | 2093 | | |
2095 | 2094 | | |
2096 | | - | |
| 2095 | + | |
2097 | 2096 | | |
2098 | 2097 | | |
2099 | 2098 | | |
| |||
2103 | 2102 | | |
2104 | 2103 | | |
2105 | 2104 | | |
2106 | | - | |
2107 | | - | |
| 2105 | + | |
| 2106 | + | |
2108 | 2107 | | |
2109 | | - | |
| 2108 | + | |
2110 | 2109 | | |
2111 | 2110 | | |
2112 | 2111 | | |
2113 | 2112 | | |
2114 | 2113 | | |
2115 | 2114 | | |
2116 | 2115 | | |
2117 | | - | |
2118 | 2116 | | |
2119 | 2117 | | |
2120 | 2118 | | |
2121 | 2119 | | |
2122 | 2120 | | |
2123 | | - | |
| 2121 | + | |
2124 | 2122 | | |
2125 | 2123 | | |
2126 | 2124 | | |
| |||
0 commit comments