Added the beginnings of hashmap but does not yet compile.
This commit is contained in:
parent
70d176982b
commit
3f3b596ff0
7 changed files with 154 additions and 26 deletions
|
|
@ -20,7 +20,8 @@
|
|||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#include "fopen.h"
|
||||
#include "io/fopen.h"
|
||||
#include "memory/conspage.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -557,8 +558,8 @@ struct stream_payload {
|
|||
struct string_payload {
|
||||
/** the actual character stored in this cell */
|
||||
wint_t character;
|
||||
/** unused padding to word-align the cdr */
|
||||
uint32_t padding;
|
||||
/** a hash of the string value, computed at store time. */
|
||||
uint32_t hash;
|
||||
/** the remainder of the string following this character. */
|
||||
struct cons_pointer cdr;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue