26-07-2006, 02:21 AM
Stuff like String$() instead of String will speed it up, but you wont even notice the difference unless you are calling it about 100,000 times a second. Most optimizations you have to actually look through the code and think outside the box - reading files in binary instead of getprivateprofilestring, sending binary packets, smashing down your packets as much as you can (binary packets is a big part of this), using stuff like CopyMemory to move memory instead of looping through arrays, etc.