| List: | Commits | « Previous MessageNext Message » | |
| From: | Konstantin Osipov | Date: | September 16 2010 1:00pm |
| Subject: | Re: bzr commit into mysql-next-mr-opt-team branch (tor.didriksen:3215) WL#1393 | ||
| View as plain text | |||
* Tor Didriksen <tor.didriksen@stripped> [10/09/16 16:44]: > optimized, from next-mr-bugfixing, configured with cmake (no arguments) > > $ll sql/mysqld > -rwxr-xr-x 1 clustra 44304518 2010-09-16 14:15 sql/mysqld* > > > same branch, but removed the explicit template instantiation > > $ll sql/mysqld > -rwxr-xr-x 1 clustra 44048388 2010-09-16 14:15 sql/mysqld* > > so executable size shrinks when you let gcc decide what to do with > the templates. Nice. I guess we need to get these numbers for a couple more major platforms and remove the switch. On the other hand it's not a complete evaluation: without explicit template instantiation there is a tendency for uncontrolled growth of the use of templates, so it would be nice to read up on the modern compiler/linker's ability to eliminate duplicate code from the resulting executable. --
