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

You might like optimistic evaluation for this. Once you've got a thunk, send it into a thread pool. When you need the result, it's either been handled in the background already or you compute it on demand (and ideally cancel the in progress copy).


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

Search: