Live data from Hacker News

Viewing profile — martisch

martisch

HN member
Joined
Wed, Aug 07, 2019, 7:47 AM UTC
HN karma
20
Public activity
5 items

About martisch

No profile information was provided.

Recent public activity

  1. comment
    Comment #34638999

    That is just the language definition. It is fine for an implementation to actually compare both at the same time as long as within the language you can not observe this happend. If…

  2. comment
    Comment #34324786

    Note that afaik [3]string(s) was not valid before go1.20 so no existing code should use it. The semantic equivalent had to be written as *(*[3]string)(s) which also copies the arra…

  3. comment
    Comment #33673792

    > This for loop is less efficient than clearing a map in one operation For maps with keys that are reflexive with == the Go compiler already optimizes the range loop to a single ef…

  4. comment
    Comment #26159447

    The reasoning is here: https://github.com/golang/go/issues/40255 Copy of part of it: 1) While 387 support isn’t a huge maintenance burden, it does take time away from performance a…

  5. comment
    Comment #20632719

    I think this part "Step 1) is not needed with the append approach, as we just reserve a memory location but the previous values stay there until we write them in step 2. " is not w…