1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00
guile/module/oop/goops
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
..
accessors.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
active-slot.scm Remove unused variables in ice-9/goops/srfi/scripts. 2009-09-21 00:24:08 +02:00
compile.scm remove code-table slot from methods 2009-11-26 00:25:06 +01:00
composite-slot.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
describe.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
dispatch.scm generic dispatch protocol in scheme, not yet wired up 2009-11-26 00:25:07 +01:00
internal.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
save.scm Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
simple.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
stklos.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
util.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00