Is there any perfection using DLL functions?

As the name says, compared to a regular function, is there a flaw in calling DLL functions? DLL will be loaded dlopen. EDIT: Ignore the time dlsymbecause I only do this once for each function.

+5
source share
3 answers

Calls to DLL functions are indirect at the address, and the compiler cannot embed them, so there is a slight increase in performance.

You need only worry if you use them in a critical internal performance loop and after profiling them.

+5
source

, . dlsym , . dlsym , . ? . - .

0

The best way to find out is to simply measure ...

0
source

All Articles