Y
Hacker News
new
|
ask
|
show
|
jobs
by
slrz
3348 days ago
I don't think it's worth it to add a cgo dependency to the package. Maybe write a set of assembly functions? The compiler can't omit calls to them and there isn't much more you can do anyway than to zero the memory.