tvl-depot/users/sterni/nix/string
sterni 7af0fb1066 refactor(users/sterni/nix/string): don't calculate length for drop
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>
2021-03-05 11:07:41 +00:00
..
tests feat(users/sterni/nix): move flow.match to string.match 2021-03-05 11:07:41 +00:00
default.nix refactor(users/sterni/nix/string): don't calculate length for drop 2021-03-05 11:07:41 +00:00