12.10.2013, 13:02
MySQL, ZCMD/y_commands and sscanf, foreach.
When you use strings, it's better to count the characters like I do. For example for a small countdown, some people use size of 128/256 (which is waste). If it's 3..2..1..Go!, that's size of 2 with NULL. Bit-Flags are also nice!
Having many else if checks for values is slow, switch is faster.
Using char with booleans or even with values between 0-255. Or BiThey are same on the clauses because they're both structured query languages; however, MySQL is faster and it can handle more data etc..
When you use strings, it's better to count the characters like I do. For example for a small countdown, some people use size of 128/256 (which is waste). If it's 3..2..1..Go!, that's size of 2 with NULL. Bit-Flags are also nice!
Having many else if checks for values is slow, switch is faster.
Using char with booleans or even with values between 0-255. Or BiThey are same on the clauses because they're both structured query languages; however, MySQL is faster and it can handle more data etc..