Avoid a full garbage collection on every LOAD.

This commit is contained in:
Juan Jose Garcia Ripoll 2008-10-21 23:35:33 +02:00
parent 392ee1f2a6
commit b731eea3c0

View file

@ -348,13 +348,6 @@ si_load_binary(cl_object filename, cl_object verbose, cl_object print)
cl_object prefix;
cl_object output;
/* A full garbage collection enables us to detect unused code
and leave space for the library to be loaded. This is only
required when we use the dlopen wrappers. */
if (!ecl_get_option(ECL_OPT_INCREMENTAL_GC)) {
si_gc(Ct);
}
/* We need the full pathname */
filename = cl_namestring(cl_truename(filename));