Well, if I run your attached code with some different strings I get about 1-7 microseconds. I know performance measuring can be tricky, but there is probably some other issue. Have you tried creating an exe of it too see what happens? Could you attach the complete code?
↧