[7] lcl_env as a vector: precise vector size

With this commit we allocate a correctly sized vector at the beginning and avoid
unnecessary resizing later.
This commit is contained in:
Daniel Kochmański 2025-03-26 18:30:26 +01:00
parent 14e5e2378c
commit 8c39ee9b50
8 changed files with 38 additions and 8 deletions

View file

@ -30,6 +30,7 @@ _ecl_write_bytecodes_readably(cl_object x, cl_object stream, cl_object lex)
code_l,
x->bytecodes.data,
x->bytecodes.flex,
x->bytecodes.nlcl,
x->bytecodes.file,
x->bytecodes.file_position),
stream);