I presume the lookup table code comes from the hex2string/string2hex
code.

I added it there because it significantly speed up operations with
long strings, while keeping compatibility (your shift solution
would probably be faster, though).

The reason it works well there is because the strings in question is
usually long enough to hide the lookup table version memory access
latency.
  • hex2int Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • hex2in... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • he... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
        • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
          • ... Per Hedbor () @ Pike (-) developers forum
          • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum

Reply via email to