diff options
author | sterni <sternenseemann@systemli.org> | 2021-03-04T11·29+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-03-05T11·07+0000 |
commit | 7af0fb10663009ab2a312c93198f5d83c7c5ff30 (patch) | |
tree | bd6712b00aa2888174bf2ecdfb8bd13a41a503a9 /buf.yaml | |
parent | 8ff14cacb69dce491c81a629595087525b455a3f (diff) |
refactor(users/sterni/nix/string): don't calculate length for drop r/2267
Since nix ends the substring at the end of the string anyways we can just statically use the largest nix integer as the length of the string. According to my testing this it ever so slightly faster as well. Change-Id: I64566e91c7b223f03dcebe3bc5710696dc4261bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2587 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'buf.yaml')
0 files changed, 0 insertions, 0 deletions