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?
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