[webkit-efl] Use of pimpl idiom for Ewk classes

Kenneth Rohde Christiansen kenneth.christiansen at gmail.com
Fri Oct 19 01:35:51 PDT 2012


> Performance-wise, I don't see much difference. With pimpl, we have an extra
> pointer dereferencing in the C functions and with the alternative, we have
> an extra function call.

Actually the function call should be more expensive than a simple
dereferencing. With a private class it also encapsulates the private
code quite nicely.

Kenneth


More information about the webkit-efl mailing list