Rewriting my GM
#7

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 Bi
Quote:
Originally Posted by pds2012
Посмотреть сообщение
To be honest, MySQL and SQLite, is almost the same, like how you code and stuff.
They are same on the clauses because they're both structured query languages; however, MySQL is faster and it can handle more data etc..
Reply


Messages In This Thread
Rewriting my GM - by knackworst - 12.10.2013, 11:09
Re: Rewriting my GM - by PT - 12.10.2013, 11:42
Re: Rewriting my GM - by Patrick - 12.10.2013, 12:09
Re: Rewriting my GM - by Astralis - 12.10.2013, 12:13
Re: Rewriting my GM - by DanishHaq - 12.10.2013, 12:15
Re: Rewriting my GM - by Patrick - 12.10.2013, 12:17
Re: Rewriting my GM - by Konstantinos - 12.10.2013, 13:02
Re: Rewriting my GM - by knackworst - 12.10.2013, 14:30
Re: Rewriting my GM - by Konstantinos - 12.10.2013, 14:34
Re: Rewriting my GM - by knackworst - 12.10.2013, 14:37

Forum Jump:


Users browsing this thread: 4 Guest(s)