You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bend-cache accepts blank and non-finite --min-ms durations #2314
Ran bend-cache m.bend --min-ms ' ' --stats with a new cache file, then tried --min-ms Infinity with another new cache file.
What happened
Both runs exit 0. The blank string is coerced to zero and keeps all 544 traces for this tiny file; Infinity keeps none. Neither is a millisecond duration. An accidentally blank shell variable should not switch caching to a different policy.
bend --version
2.0.40, main at 966bbb74.
uname -sm
Linux x86_64.
clang --version (the first line)
clang version 22.1.8 (not used; reproduced with Bun 1.4.4).
Activity