Hacker News new | past | comments | ask | show | jobs | submit login

It was a small value type. Allocation never failed. Thanks for playing.

"Several" in this case may be "two", can't quite remember that detail very well, and we're talking about a white plastic MacBook with the first-gen Core2 Duo with a crappy 5400rpm drive. I suspect some fragmentation-induced paging. But you are right that I didn't get all dtrace on it; I chose a good guess for std::vector::reserve() and that was that.

Jon




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: