cauldron: implement faster upcase and downcase