1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00
guile/module
Andy Wingo ac47d5f639 avoid 8 words of allocation per lambda, whoooo
* libguile/objcodes.c (scm_bytecode_to_objcode): Check that the length of
  the vector matches the length embedded in the bytecode.

* libguile/programs.c (scm_program_meta): Call through to
  scm_objcode_meta, instead of looking in the object table. Avoids
  consing up a program+objcode slice for the meta until the meta is
  actually called.

* libguile/vm-i-loader.c (load-program): Step past the metadata too.

* module/language/glil/compile-assembly.scm (make-meta): Just return the
  load-program form, or #f.
  (assoc-ref-or-acons, object-index-and-alist, make-object-table): Don't
  write the meta into the object table.
  (glil->assembly): Instead write the meta into the load-program form.
2009-02-01 10:50:45 +01:00
..
ice-9 Merge commit 'origin/master' into vm 2009-01-12 21:36:39 +01:00
language avoid 8 words of allocation per lambda, whoooo 2009-02-01 10:50:45 +01:00
oop rename translate.scm to compile-ghil.scm, and more work on compiler.texi 2009-01-09 17:49:09 +01:00
srfi fix mismerge on srfi-19.scm 2009-01-12 21:45:37 +01:00
system add code for writing out metadata to the end of a program 2009-02-01 10:15:00 +01:00
Makefile.am move scm srfi files to module/srfi, and compile them. 2008-11-01 13:49:23 +01:00