Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
boyter
3 months ago
|
parent
|
context
|
favorite
| on:
1B nested loop iterations
I doubt its the GC kicking in, but you could run it with the following environment variable set just to ensure that its not doing anything.
GOGC=-1
EDIT: Trying it out quickly shows a small improvement actually, but so small as to likely be noise as I was doing other things on the machine.
Summary ./mainnogc 1000 ran 1.01 ± 0.06 times faster than ./maingc 1000
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: