Hacker News new | past | comments | ask | show | jobs | submit login
BIT operations in PHP (a simple example) (7billionyearslater.net)
3 points by chunkyslink on July 18, 2010 | hide | past | favorite | 2 comments



Generally best avoided in web applications, as all the database engines I'm familiar with can't use indexes for bitwise operations.


An interesting way of dealing with flags depending on the kind of app you are developing, I wouldn't use that technique often.




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

Search: