News for hackers. Stuff that matters.
Re:Making a Go program 70% faster with a one character change by TremendousJudge on Monday November 14, 2022 @12:18PM (#33597413)
>or perhaps the problem is implicit allocations rather than value semantics

To me, this sounds like this is it. Explicit is better than implicit is a very useful truism

Re:Making a Go program 70% faster with a one character change by cbsmith on Monday November 14, 2022 @12:38PM (#33597767)
The counter argument to the "explicit is better than implicit" is that abstraction & encapsulation are such significant force multipliers. If done properly, implicit is good. It's just that in case of copying, doing it "properly" is well nigh impossible.
Re:Making a Go program 70% faster with a one character change by kazinator on Monday November 14, 2022 @12:41PM (#33597826)

          explicit  implicit

  good       *    <    *
 
             v    v    v

  bad        *    >    *