Skip to content

Instantly share code, notes, and snippets.

@timvisher
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timvisher/7be9c5ca3ce48c56cee3 to your computer and use it in GitHub Desktop.
Save timvisher/7be9c5ca3ce48c56cee3 to your computer and use it in GitHub Desktop.
ELISP> (setq charnock (make-hash-table))
#s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data
())
ELISP> (puthash 1 "a" charnock)
"a"
ELISP> (gethash 1 charnock)
"a"
ELISP> (puthash "whee" "b" charnock)
"b"
ELISP> (gethash "whee" charnock)
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment