mc/edit
Denys Vlasenko e064bd60df De-inline a few functions which are large
...or not-so-large but nevertheless
contain more than one function call,
or contain loops, or contain if's and at least one
function call, or contain largish objects on stack.

In my experience, in those cases the code size
growth is big enough to not inline stuff.

I guess some of the really big functions
are defined inline because they have, or had in the past,
just one callsite.

But for a few years gcc already does it automatically,
no need to do it by hand and risk code size explosion
when later during code evolution another callsite
is created. This optimization by hand is simply
no longer needed.

Anyway, here is the code size difference:

   text    data     bss     dec     hex filename
 572337   17944  177820  768101   bb865 mc.t5/.obj/src/mc
 567697   17944  177820  763461   ba645 mc.t6/.obj/src/mc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-31 07:12:59 +03:00
..
.gitignore Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
bookmark.c De-inline a few functions which are large 2009-08-31 07:12:59 +03:00
choosesyntax.c Initial step to move TTY layer of MC to separate library. 2009-08-12 21:19:20 +04:00
edit-impl.h Ticket #1384 (Whitespace highlighting should be optional) 2009-07-07 05:53:52 +00:00
edit-widget.h Ticket #1487 (Whole words search) 2009-08-22 11:24:00 +00:00
edit.c De-inline a few functions which are large 2009-08-31 07:12:59 +03:00
edit.h add option "Cursor beyond end of line" into "Options\General..." dialog (editor_beyond_eol in ini) 2009-08-17 18:11:20 +00:00
editcmd_dialogs.c * add 'Whole words' option into the viewer 'Search' dialog 2009-08-24 19:31:31 +00:00
editcmd_dialogs.h Initial step to move TTY layer of MC to separate library. 2009-08-12 21:19:20 +04:00
editcmd.c Ticket #1558 (Search backwards behaves erratically) 2009-08-24 07:04:52 +00:00
editcmddef.h Ticket #1384 (Whitespace highlighting should be optional) 2009-07-07 05:53:52 +00:00
editdraw.c edit/editdraw.c: removed unused variable 2009-08-24 09:31:26 +04:00
editkeys.c Ticket #1484 (show bookmark) 2009-08-18 10:05:50 +00:00
editlock.c fixed several missing #include's 2009-06-18 21:02:29 +04:00
editlock.h Simple doxygen description for files in edit directory. 2009-02-10 16:07:59 +02:00
editmenu.c Ticket #1484 (show bookmark) 2009-08-18 10:05:50 +00:00
editoptions.c add option "Cursor beyond end of line" into "Options\General..." dialog (editor_beyond_eol in ini) 2009-08-17 18:11:20 +00:00
editwidget.c fix: mouse selection if line state swiched on. 2009-08-21 13:42:29 +00:00
etags.c Ticket #267 (etags incorrect get the line number definition) 2009-08-15 11:36:57 +00:00
etags.h Project now build with: 2009-04-24 01:47:22 +03:00
Makefile.am Hide private API of editor (#361). 2009-06-16 15:36:45 +04:00
syntax.c De-inline a few functions which are large 2009-08-31 07:12:59 +03:00
usermap.c Initial step to move TTY layer of MC to separate library. 2009-08-12 21:19:20 +04:00
usermap.h Hide private API of editor (#361). 2009-06-16 15:36:45 +04:00
wordproc.c further include file fixups 2009-06-18 21:02:29 +04:00