08-15-2024, 05:57 PM
Quote:Pete . ...but since I don't do speed tests, I can't really say if my example would run any faster. So what do you guys think? Is parsing a string faster than checking 12 conditions? If not, then we can just refer to this as a coding style.With today's CPUs, the difference is probably between 0.00012 and 0.00018 seconds. With about a million lines of source code or so, there could be a delay of one second.