racket/collects/framework/private
Robby Findler a7cb8fdc84 small improvements to the memory usage for files opened in DrRacket.
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.

The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.

For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).
2012-03-10 20:18:49 -06:00
..
application.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
autocomplete.rkt Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
autosave.rkt some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
bday.rkt Encode any text instead of going through a pretty-printer. 2010-10-14 13:46:51 -04:00
canvas.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
collapsed-snipclass-helpers.rkt fix the collapsed snipclass so that it cooperates with the wxme library and 2011-09-13 14:58:39 -05:00
color-model.rkt removed useless requires 2011-09-27 19:28:44 -06:00
color-prefs.rkt some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
color.rkt small improvements to the memory usage for files opened in DrRacket. 2012-03-10 20:18:49 -06:00
comment-box.rkt some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
decode.rkt Encode any text instead of going through a pretty-printer. 2010-10-14 13:46:51 -04:00
decorated-editor-snip.rkt removed useless requires 2011-09-27 19:28:44 -06:00
early-init.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
editor.rkt adjust the autosave error code to print the stacktrace 2011-11-28 15:34:30 -06:00
encode.rkt removed useless requires 2011-09-27 19:28:44 -06:00
exit.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
finder.rkt removed useless requires 2011-09-27 19:28:44 -06:00
focus-table.rkt removed useless requires 2011-09-27 19:28:44 -06:00
frame.rkt fix call to message box to remove incorrect style flag 2012-01-11 13:16:46 -06:00
gen-standard-menus.rkt Improve code generation in the framework collection. 2011-09-30 10:51:28 -04:00
group.rkt removed useless requires 2011-09-27 19:28:44 -06:00
handler.rkt removed useless requires 2011-09-27 19:28:44 -06:00
icon.rkt removed useless requires 2011-09-27 19:28:44 -06:00
keymap.rkt Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
main.rkt DrRacket default `module*' indentation 2012-03-09 10:34:57 -07:00
mapdesc.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
menu.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
mode.rkt removed useless requires 2011-09-27 19:28:44 -06:00
number-snip.rkt adjust number-snip% so that it subscribes to the file/convertible 2011-11-20 16:38:17 -06:00
panel.rkt make right-click in the space between the definitions and 2011-10-04 16:47:10 -05:00
pasteboard.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
path-utils.rkt removed useless requires 2011-09-27 19:28:44 -06:00
preferences.rkt Adjust DrRacket so that it saves files with CRLF 2011-09-30 17:08:07 -05:00
racket.rkt small improvements to the memory usage for files opened in DrRacket. 2012-03-10 20:18:49 -06:00
scheme.rkt some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
search.rkt removed useless requires 2011-09-27 19:28:44 -06:00
sig.rkt some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
standard-menus-items.rkt Improve code generation in the framework collection. 2011-09-30 10:51:28 -04:00
text.rkt framework: add missing methods to interface and docs 2012-03-01 13:17:48 -05:00
version.rkt removed useless requires 2011-09-27 19:28:44 -06:00