def say
import bolt@1.27.0.0/src/rules/suspicious/prefix.bend as Prefiximport Base
85# what the finding says: the take, and the starts_with that replaces it
86def say(+ss: String, +kk: String, +lit: String) -> String:
87 "String.eq(String.take(" ++ ss ++ ", " ++ kk ++ "), " ++ lit ++ ") copies " ++ kk
88 ++ " chars only to compare them; String.starts_with(" ++ ss ++ ", " ++ lit ++ ") gives the same answer in place."