diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-10-26T09·03-0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-10-28T10·26+0000 |
commit | b8a7dba709436eeb562f8911ae1b5691830d6fd7 (patch) | |
tree | f456fbee2c6ffeb252ae34e263e895547e0c746f /web/converse/todo.org | |
parent | ccab9c06a2f01353b8a91469d46a498a75961431 (diff) |
feat(tvix/eval): builtins.replaceStrings: don't clone() N times r/5220
CL/7034 looks great, except that for a length-N target string it will perform N deep copies of each of the from and to-lists. Let's use references instead of clones. Signed-off-by: Adam Joseph <adam@westernsemico.com> Change-Id: Icd341213a9f0e728f9c8453cec6d23af5e1dea91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7095 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: j4m3s <james.landrein@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'web/converse/todo.org')
0 files changed, 0 insertions, 0 deletions