Tony Mechelynck wrote: > On Tue, Mar 13, 2018 at 3:17 AM, James McCoy <james...@jamessan.com> wrote: > > On Mon, Mar 12, 2018 at 11:21:55PM +0100, Christian Brabandt wrote: > [...] > >> Not sure, why the vartabs enabled Vim is actually smaller then the > >> unpatched Vim. That is certainly unexpected, I might have messed > >> something up. Not sure, I really need to get some sleep now :( > > > > You just got the builds mixed up. :) > > > > 12264088 (+vartabs) is larger than 12234272 (-vartabs). The more > > interesting figures (if size is really a factor) would be after > > stripping both binaries, since that's what most people are likely to > > encounter. > > > > Cheers, > > -- > > James > > Ah, of course. > > Before stripping, the percentage difference is only (12264088 - > 12234272) * 100 / 12234272.0 which is less than 0.25%. If the > percentage difference after stripping is similar I would never call it > code bloat.
I don't think code size matters much for a feature like this. But if you want to compare sizes, you need to use a build where size is relevant. A huge build with GUI is where users don't care about size. The GUI adds so much that the Vim code part is smaller. When I make changes like dropping the #ifdef FEAT_AUTOCMD best compare with a small build, no GUI and stripped binary. That's where the size difference actually matters. -- A)bort, R)etry, P)lease don't bother me again /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.