Perfect icon indicating copy to clipboard operation
Perfect copied to clipboard

Mark Classes as final

Open colemancda opened this issue 8 years ago • 2 comments

Optimizes code to C++, level performance.

Also, in the MySQL class, you would not want that to be subclassed, and the internal pointer should be private.

colemancda avatar Nov 23 '15 22:11 colemancda

Thanks Alsey, I'm bubbling this back up to the surface with the team. Stay tuned :)

iamjono avatar Jun 21 '16 20:06 iamjono

For those coming across this issue via search, Alsey is referring to code optimizations that take advantage of dispatch techniques in the compiler. There's a great article here.

iamjono avatar Jun 21 '16 20:06 iamjono