mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 06:12:25 -08:00
SI:LOAD-SOURCE opens files in buffered mode (ANSI C streams), to solve a performance problem in some NFS systems.
This commit is contained in:
parent
7c050399fa
commit
9a76ab3da3
2 changed files with 6 additions and 1 deletions
|
|
@ -6,6 +6,10 @@ ECL 9.12.3:
|
|||
- When converting rationals to floats, ECL now rounds instead of using the
|
||||
routine in GMP, which truncates.
|
||||
|
||||
- LOAD open streams in buffered mode. It does not cause any significant
|
||||
performance increase except in broken network filesystems that lack
|
||||
buffering such as some implementations of NFS.
|
||||
|
||||
ECL 9.12.2:
|
||||
===========
|
||||
|
||||
|
|
|
|||
|
|
@ -464,7 +464,8 @@ si_load_source(cl_object source, cl_object verbose, cl_object print)
|
|||
strm = source;
|
||||
} else {
|
||||
strm = ecl_open_stream(source, smm_input, Cnil, Cnil, 8,
|
||||
ECL_STREAM_DEFAULT_FORMAT, Cnil);
|
||||
ECL_STREAM_DEFAULT_FORMAT | ECL_STREAM_C_STREAM,
|
||||
Cnil);
|
||||
if (Null(strm))
|
||||
@(return Cnil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue