Replace Vec::contains() with HashSet::insert() for O(1) dedup lookups instead of O(n), significantly reducing comparisons during decode. https://claude.ai/code/session_01XzurkeuUmamBuhQwxVy7T4 Signed-off-by: Claude <noreply@anthropic.com>
Update rig_mode_to_str to call .into_owned() on the new Cow return. https://claude.ai/code/session_01XzurkeuUmamBuhQwxVy7T4 Signed-off-by: Claude <noreply@anthropic.com>
Eliminates per-call String allocations for standard modes by returning borrowed static strings. Only the Other variant allocates. https://claude.ai/code/session_01XzurkeuUmamBuhQwxVy7T4 Signed-off-by: Claude <noreply@anthropic.com>