Tips to make my program faster?

Hello

I need a few tips to make my program faster. It is using the SFML FTP library to connect to a FTP server, but my application needs to do intensive tasks and should be able to make at least 5 connections/second. But for some reason it ain't working.

It's really slow and suddenly stops after a few connections.
So, a few tips to make it faster? Like for example, does obfuscating makes it faster?

Thanks for reading,
Niely
You may want to look up the definition of obfuscation.
http://en.wikipedia.org/wiki/Obfuscation_%28software%29

It is hard to say how to improve your code without actually seeing the code. Is there any code you can share to help us give you tips?
But without seeing your code, I could give some tips on certain compiler flags to compile with. What compiler do you use? What operating system/cpu architecture are you targeting? There are certain flags that optimize for different OSes/archs
This is really what a profiler is for. They're a pain to use, but nothing too obnoxious.
Topic archived. No new replies allowed.