Earlier quoted context omitted.
Ditto. Perfect hashing strings smaller than 8 bytes has been the fastest lookup method in my experience.
Problem is, there are a lot of RISC-V instruction way longer than that (like th.vslide1down.vx) so hashing is going to be slow.
It is not part of RISC-V, nor supported by any CPUs outside of that vendors' own.