• FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      4 months ago

      It’s not. PHP used to use the function length as hash buckets, so by having evenly distributed lengths the execution time was faster. No idea where GP came up with that.

      • racemaniac@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        GP specifically talked about the first version of PHP, sounds like it was just a dummy implementation as they were working on PHP, that then later got replaced with a proper implementation :)

    • Honytawk
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      No it is, only 26 functions in total.

      The Chinese had it way easier.