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

Generational affects the number of free objects that can be found, not the cost of freeing or looking at an object, or even the number of objects looked at.

I thought that the comparison was between "heap-allocate every object" vs "zero allocation." (C/C++ and similar languages which make it easy to stack-allocate objects, which is not far from zero-allocation.)

If the application is such that zero-allocation isn't easy, then that comparison doesn't make sense.

However, we're discussing situations when zero (or stack) allocation is possible.




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

Search: