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

As others have pointed out, it's deterministic in the sense that the memory is reclaimed when the ref count goes to zero, and the ref count is always well-defined. I would have used the word "predictable", in that `delete foo` will always release memory, but `foo.Decrement()` may or may not, and local reasoning may not suffice.


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

Search: