HN2new | past | comments | ask | show | jobs | submitlogin

In practice, though, it makes sense in this case to assume integers representing array indices are constant-space and arithmetic on them takes constant time. The computers we're running these algorithms on use base 2 and the size of integer they can operate on in a single operation has scaled nicely with the amount of storage they have access to.


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

Search: