in reply to "exists $hash{key}" is slower than "$hash{key}"

Even if real, when is a 50ns difference in an "exists" operation significant?

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: "exists $hash{key}" is slower than "$hash{key}"

Replies are listed 'Best First'.
Re^2: "exists $hash{key}" is slower than "$hash{key}"
by Fletch (Bishop) on Jan 06, 2020 at 17:51 UTC

    <sarc weight="0.25"> Maybe when you do it 10 billion times . . .

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      Boiler pressure in the steam engine driving your computer is going to make more difference than that! Adding a few megs or RAM or an SSD will completely mask any difference.

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond