I am trying to implement an image analysis algorithm using parallel processing techniques. As usual, the implementation is comprised of a dozen of functions each one solving a simpler problem.

Now I'm gonna create a C header file (*.h) containing all the required functions. In comparison to static library files (*.lib) and dynamic libraries (*.dll) which one is optimal in terms of speed? Or is it simply better to use a header file?

I'm aware that static library links all the required functions during the compile process and dynamic library will be linked on run-time. The most critical factor is speed. I need several days to fulfill the processing task, consequently any measure leading to shortening required time is highly welcome (even in the cost of consuming more space on hard disk and RAM).

Thank you for sharing your experience.

More Amir Ansari's questions See All
Similar questions and discussions