Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
storing a list of user numbers
y2kbg
New
would it be best to have a serialized php array or comma delimited list to store a list of vanilla usernumbers in a mysql database?
0
This discussion has been closed.
Comments
now that i have thought it could work that way and it would be easier the way you are saying
but
If 1000 person had 100 friends would it not be faster to have an array and 1000 entrys than 1:1 and 100,000 entry idk. would it be a noticeable difference because i would love to go the route that you speak of.
That's where database indexing comes in
sorry for the caps but that is the key to this, if they aren't indexed it's not worth doing if you have a large scale application. If you have a properly indexed database, size doesn't matter because they are very fast when indexed. The only difference now is cpu speed and how many people are accessing the database at one instance.