refactor: use lookup table rather than switch
refactor: use lookup table rather than switch

lddubeau/salve,mangalam-research/salve,mangalam-research/salve,mangalam-research/salve,lddubeau/salve,lddubeau/salve