At this point, I invite everyone to test it with as many simulations as they wish and to publish it, for a neutral environment.
OK. They did, and the results indicate your prefix method wins in 55.2% of cases, sequential in 40.6%, and ties for the rest.
Now do you understand where your error is? Or do you consider all of these identical results as a valid proof of your theory?
I'll give you a hint: you're running all tests on the same distribution, so obviously you'll get the same results.
You might as well pre-map all the values to their keys and do a lookup to get a 100% to 0% winning method.
Try again?

lol, What do you mean? Are you suggesting that a comparison of two methods under equal conditions is unfair? Elaborate. Are you implying that it's rigged? Quote some code. Go ahead, look for five legs on the cat...it's open source.