Repository navigation
Commit 96a7d62
committed
perf: Materialize float collections once before the non-finite check
Copy the repeated field into a list once and run the finite check and
the conversion on that list, instead of iterating the protobuf container
for the check and again for the conversion.
Signed-off-by: Edson <[email protected]>1 parent e1c6870 commit 96a7d62
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments