UnusedResult.message: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/unused_result.bend as UnusedResult Lines 26-36 of bend-lint-rules@0.2.0.0/performance/unused_result.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/unused_result.bend&start_line=26&end_line=36 import Base # Functions # ========= def message(+name: String, loop: String) -> String: name ++ " is never used, but Bend computes every value it binds: " ++ name ++ " is built, then walked to be freed, on every step of " ++ loop ++ ". All lanes. Measured on the CPU, in llama.bend: not building the activations that its generation loop never used made each token 19% to 25% faster. Confidence: medium, as the cost grows with the value. Have the code that makes " ++ name ++ " skip it, such as a variant that does not build it. If it is small, expect this finding." Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append