1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
emacs/mps/example/scheme
Gareth Rees 2cf1861e8d Improvements to clarity of weak hash table implementation:
* TAG_SIZE was changed to TAG_COUNT in the code, so make the corresponding change in the manual.
* Avoid the "+= 2" hack: use TAG_COUNT(UNTAG_COUNT(...) + 1). Clarity is more important than speed here.
* Use obj_unused for unused hash table entries so that there can be no confusion between NULL meaning "unused" and NULL meaning "splatted by the garbage collector".
* Add references from the example code to the notes.

Copied from Perforce
 Change: 182804
 ServerID: perforce.ravenbrook.com
2013-06-19 12:59:49 +01:00
..
.p4ignore Files to ignore in example/scheme. 2013-05-22 22:22:34 +01:00
josephus.scm Adding the scheme example to the xcode project. 2013-06-12 23:30:28 +01:00
Makefile.in Prefer -pthread to -lpthread. 2013-06-05 17:46:51 +01:00
r4rs.scm Typo. 2012-11-13 15:07:49 +00:00
scheme-advanced.c Improvements to clarity of weak hash table implementation: 2013-06-19 12:59:49 +01:00
scheme-boehm.c Suppress "variable may be used uninitialized" warnings. 2013-06-05 16:44:35 +01:00
scheme-malloc.c Suppress "variable may be used uninitialized" warnings. 2013-06-05 16:44:35 +01:00
scheme.c Improvements to clarity of weak hash table implementation: 2013-06-19 12:59:49 +01:00
test-common.scm Frequent garbage collection often turns up problems. 2012-11-08 15:22:09 +00:00
test-leaf.scm Boehm port of the scheme interpreter. 2012-11-06 19:25:31 +00:00
test-mps.scm Refactor test code now that we can load it. 2012-11-02 17:35:05 +00:00
test-r5rs.scm Implement "do". 2012-11-11 19:34:46 +00:00
test-weak.scm Implement the global symbol table as a weak-value hash table from strings to symbols. 2012-11-02 21:23:12 +00:00