The convention of placing the operator to the left of the operands is known as prefix notation, and it may be somewhat confusing at first because it departs significantly from the customary mathematical convention.
Name:
Anonymous2007-08-25 8:00 ID:AD0OJHaK
Out of sheer laziness I would like to have my flash client application query the SQL server every half a second or so to acquire information about other players (i.e. their position). If I were to have one thousand players connected to the server simeltaniously would MySQL handle the 2000 queries per second load?
+ 2 3 can be considered equivalent to f(2,3) where f(x,y) = x+y
Name:
Anonymous2007-08-25 9:47 ID:07JmxyhW
>>3
No, that's a braindead way of doing it. The server should store this shit in memory; the clients should receive updates from the server. There shouldn't be any database involved, except to store player accounts if you're having accounts. Databases are for persistant data storage, not for storing things that are being updated many times per second.