flat assembler
Message board for the users of flat assembler.
Index
> Windows > What is faster? calling lstrcat or using only mov and add? Goto page Previous 1, 2 |
Author |
|
rugxulo 05 Feb 2008, 04:16
itsnobody wrote:
Well, if you don't test on slow processors, you'll never notice the difference, and hence you can't fix it. P.S. Anybody claiming to not care about speed is forgetting the -O2 and more used by most compilers when compiling most anything. (Faster but still correct.) People care much more for speed than small size. |
|||
05 Feb 2008, 04:16 |
|
f0dder 05 Feb 2008, 13:24
itsnobody wrote:
Where did memory enter the picture? I thought we were discussing *str* functions? Anyway, wasting memory doesn't necessarily mean wasting time. itsnobody wrote:
Which is fine if you're a hobbyist programmer that has all the time in the world, but if we're talking about real-world software, you often have to make compromises. itsnobody wrote:
So, you admit you don't really know what you're talking about? Sure thing, with Process Explorer from sysinternals, you can see what code a thread is currently running, but you can't use that for accurate profiling - considering how little time *str* functions take to execute, I don't think you'd ever actually see that name in the thread list. itsnobody wrote:
As I already said, profiling will show you where your hot spots are. itsnobody wrote:
And I think you're talking out of your ass rugxulo wrote:
I keep a 350MHz PII with 64 megs of ram in the closet |
|||
05 Feb 2008, 13:24 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.