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

You can cheese infinite loop detection by setting a max number of edge traversals (that way you don't just loop longer when someone speeds up the happy path).

For real code, you wouldn't generate a web page with 5 million entries in it, so you can be pretty sure that the data is bad even if it's not cyclical (but it probably is)



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

Search: