This seems interesting.
but I'm wondering which size is each implementation : is one approach biggest than the other ?
(independantly of the fact that la dynamic library may take less space than a static one, or more, depending on the point of view, but it's not the debate here)