Hacker News new | past | comments | ask | show | jobs | submit login

Yea. Just about none of them could be optimized to constants because, uh, they're not constant. We're not perfect, but we do add const etc to TU level statics/globals that are actually read only. And if they are actually read only, we don't care about them in the context of threading anyway, since they wouldn't need any different behaviour anyway.



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

Search: