1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
guile/module
Andy Wingo cfe55d3e81 generic dispatch protocol in scheme, not yet wired up
* module/oop/goops/dispatch.scm: Add a dispatch protocol in Scheme. The
  idea is that instead of using a hardcoded C protocol, we compile
  dispatch procedures at runtime. To avoid too much thrashing at bootup,
  there is a simple JIT mechanism -- dispatch will be data-driven,
  through the cache, for the first 5 invocations, then a dispatch
  procedure will be compiled from the cache.

  My initial timings indicate that interpreted dispatch takes about
  100us, and that compiled dispatch takes about 60us. Compilation itself
  takes about 16000us (16 ms). The compiled procedure dispatch times
  will improve soon, hopefully.
2009-11-26 00:25:07 +01:00
..
ice-9 "filesystem" -> "file system" 2009-11-24 23:16:08 +01:00
language opcodes for bit twiddling (ash, logand, logior, logxor) 2009-11-15 21:03:33 +01:00
oop generic dispatch protocol in scheme, not yet wired up 2009-11-26 00:25:07 +01:00
rnrs Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
scripts Remove unused variables in ice-9/goops/srfi/scripts. 2009-09-21 00:24:08 +02:00
srfi srfi-35 properly uses vtable-offset-user 2009-11-15 20:28:12 +01:00
system better printing of procedures with keyword arguments 2009-11-21 19:03:22 +01:00
Makefile.am add quasisyntax 2009-11-14 17:25:12 +01:00