Is there a data structure that works well with two alternative indices?
===

One index maps prefix codes (like Huffman encoding) to Blahs, and a second one maps UTF-8 chars to Blahs.  And for the accepted chars and prefix codes (the ones that don't map to null), there is a 1-1 correspondence between prefix codes and chars.  E.g. e('a') = 11.  And s('a') = s(11) = someBlah.

Ty