#38
|
|||
|
|||
I realize this is an old post, but I wanted to touch on some of the techniques here, and hope that it will help any other developers.
PHP Code:
PHP Code:
There are some simple things here that may seem insignificant, it can make a huge impact. PHP Code:
PHP Code:
PHP Code:
to PHP Code:
This is of course, only if you are using it once, and don't need the $num variable anywhere else. And lastly, Quote:
Quote:
The reason for the above is, it is pre-incrementing and it doesn't create a memory reference. The only difference between the two is, the last one doesn't increment until the end of the string, so in some cases it is not acceptable. But anyways, yeah. This is not criticizing, I am just offering some tips. NBS Last edited by nobackseat; 02-06-2011 at 01:06 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation Complete: Site is Completely Blank? | Bhavani | Questions and Supports | 3 | 09-14-2014 06:43 PM |
a more advanced breeding system needed | maximillion | Questions and Supports | 11 | 06-28-2011 02:37 PM |
Help me with the breeding system of Arianna | Sensacionsk8 | Questions and Supports | 2 | 03-21-2011 11:54 AM |
Breeding System | Steelghost600 | Questions and Supports | 4 | 10-25-2009 02:38 PM |
How to make a breeding System? | SieghartZeke | Questions and Supports | 23 | 10-19-2009 06:11 PM |
What's New? |
What's Hot? |
What's Popular? |