r0ket/r0ket — pull request #38 by ralfjung-e (2012-02-23 20:01:19+00:00)
Title: make l0dablelist sortable

This patchset adds a configuration option to make the list of l0dables sortable. The difference in execution time is hardly noticeable, except for the delay it takes to wrap from the top of the list to its bottom.

Current sizes:
text data bss dec hex filename
31757 332 3027 35116 892c firmware.elf

With the patch:
text data bss dec hex filename
32061 340 3027 35428 8a64 firmware.elf

This could be brought down to less than 32000 for text if the optimizations for scrolling in sorted mode were removed - that makes browsing noticeably laggy though. I am however inexperienced in size-oriented programming, so maybe there are some obvious mistakes I made in that regard.