| REPEAT I ! |
REPEAT I ! |
| cell +LOOP HashIndex off ; |
cell +LOOP HashIndex off ; |
| |
|
| : rehash clearhash addall ; |
: re-hash clearhash addall ; |
| : (rehash) ( addr -- ) |
: (rehash) ( addr -- ) |
| drop revealed @ IF rehash revealed off THEN ; |
drop revealed @ IF re-hash revealed off THEN ; |
| |
|
| Create hashsearch ' hash-find A, ' hash-reveal A, ' (rehash) A, |
Create hashsearch ' hash-find A, ' hash-reveal A, ' (rehash) A, |
| |
|
| |
|
| : hash-cold ( -- ) Defers 'cold |
: hash-cold ( -- ) Defers 'cold |
| HashPointer off HashTable off HashIndex off |
HashPointer off HashTable off HashIndex off |
| addall ; |
voclink |
| |
BEGIN @ dup @ WHILE |
| |
dup cell - @ >r |
| |
dup 'initvoc |
| |
r> over cell - ! |
| |
REPEAT drop ; |
| ' hash-cold IS 'cold |
' hash-cold IS 'cold |
| |
|
| : .words ( -- ) |
: .words ( -- ) |