Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
klodolph
4 months ago
|
parent
|
context
|
favorite
| on:
The Defer Technical Specification: It Is Time
Does go’s defer allocate on the heap? I thought it would only do that if necessary.
pkaye
4 months ago
[–]
I know they implemented an optimization back in go 1.13. Not sure if that will help.
https://github.com/golang/proposal/blob/master/design/34481-...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: