Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This question is partially address in the articles linked to at the start [1]

I linked to the slide that begins to mention it, rather short though.

The answer is that we can add heuristics, but that we should also be able to solve this somewhat on a language/library level rather than only at a vm level.

[1] https://speakerdeck.com/alex/why-python-ruby-and-javascript-...



Yeah,

Perhaps if I saw/heard the talk I would get more out of it than "data-structure heuristics are the worst". It would be nice to know why they are the worst.


Python already has a feature called __slots__ which replaces the dictionary normally used to store object attributes with fixed, well, slots.




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

Search: