diff options
author | sterni <sternenseemann@systemli.org> | 2022-09-15T15·42+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-09-15T15·52+0000 |
commit | 05958703410d37f874c4705cabbbba2082c555f7 (patch) | |
tree | 0a8130fac7ff003d081dcc10b1af6333079791bd /tvix/eval/src/builtins | |
parent | 4eb33e82ff418de0ad811a0d3afffac84831fac4 (diff) |
refactor(tvix/eval): don't move parts Vec in compile_str_parts r/4861
This allows us to get rid of the count local variable which was a bit confusing. Calling parts.len() multiple times is fine, since the length doesn't need to be computed. Change-Id: I4f626729ad1bf23a93cb701385c3f4b50c57456d Reviewed-on: https://cl.tvl.fyi/c/depot/+/6584 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/builtins')
0 files changed, 0 insertions, 0 deletions