how does rust handle pattern matching? I want to map some enum variants to other enum variants, and I'm currently just using a very large match statement. Is this going to be a performance issue (im doing this 4-5 times a second)? Is pattern matching linear or are there some shinengans going on so that its really efficient? Would using a hashmap or a phf map probably be faster than matching?
^ik its probably hard to know w/o benchmarking but i mean like in general