My first 2.4 goal (an easy one while we iron out the bugs in
2.3) is to
make startup faster. Mike, that's why I didn't take your
gsti in much
consideration.
This is an easy 10%. Another 20% can be gained by rewriting
the way
VFSHandlers remove temporary files, but I've not finished
doing that.
For the rest, the idea is that we can perform some more work
on saving
that we currently do when reloading. So reloading is a
matter of
mmap'ing the file, copying it, possibly relocating the
pointers in
memory (but not if the image is loaded in the same place
where it was
stored!), and that's it. Should save another 20-30% here
and there.
Paolo
--- orig/libgst/input.c
+++ mod/libgst/input.c
 -331,6
+331,9  _gst_push_stdin_string (void)
#ifdef HAVE_READLINE
}
+ if (count == 0)
+ _gst_add_all_symbol_completions ();
+
newStream = push_new_stream (STREAM_READLINE);
newStream->st_str.strBase = NULL; /* force
readline() but no
free() */
 -1168,9
+1171,6  _gst_initialize_readline (void)
/* Set up to use read to read from stdin */
rl_getc_function = readline_getc;
-
- if (count == 0)
- _gst_add_all_symbol_completions ();
}
#endif /* HAVE_READLINE */
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|