Hacker News new | ask | show | jobs
by dkubb 1954 days ago
This is pretty efficient. She lazily sorts them on first access. They are stored in a thunk and then lazily evaluates them. After that repeated access is efficient.