/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Go Optimization Guide
(goperf.dev)
480 points
jedeusus
| 1 comments |
31 Mar 25 20:29 UTC
|
HN request time: 0s
|
source
Show context
neillyons
◴[
01 Apr 25 05:33 UTC
]
No.
43543171
[source]
▶
>>43539585 (OP)
#
Curious to know what people are building where you need to optimise like this? eg Struct Field Alignment
https://goperf.dev/01-common-patterns/fields-alignment/#avoi...
replies(2):
>>43543293
#
>>43543824
#
kubb
◴[
01 Apr 25 07:24 UTC
]
No.
43543824
[source]
▶
>>43543171
#
Something that shouldn’t be written in a GC language.
replies(2):
>>43544207
#
>>43544263
#
1.
piokoch
◴[
01 Apr 25 08:28 UTC
]
No.
43544207
[source]
▶
>>43543824
#
I don't think GC has anything to do here, doing manual memory allocation we might hit the same problem.
ID:
GO
↑