{"id":22396451,"url":"https://github.com/spacebat/hashe","last_synced_at":"2026-01-06T20:16:21.335Z","repository":{"id":20369351,"uuid":"23644709","full_name":"spacebat/hashe","owner":"spacebat","description":"A simple hash table implementation in Emacs Lisp","archived":false,"fork":false,"pushed_at":"2014-09-05T14:27:25.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T04:43:56.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spacebat.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-04T01:52:00.000Z","updated_at":"2014-09-04T01:54:06.000Z","dependencies_parsed_at":"2022-07-17T06:46:03.038Z","dependency_job_id":null,"html_url":"https://github.com/spacebat/hashe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacebat%2Fhashe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacebat%2Fhashe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacebat%2Fhashe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacebat%2Fhashe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacebat","download_url":"https://codeload.github.com/spacebat/hashe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749907,"owners_count":20666086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T06:08:12.851Z","updated_at":"2026-01-06T20:16:21.259Z","avatar_url":"https://github.com/spacebat.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+AUTHOR: Andrew Kirkpatrick\n#+DESCRIPTION: a simple hash table implementation in elisp.\n\n* Overview\nI've read (Steve Yegge in his [[http://steve-yegge.blogspot.com.au/2008/11/ejacs-javascript-interpreter-for-emacs.html][Ejacs post]]) that hash tables in elisp\nare too heavyweight.  This got me thinking about what's involved in a\nhash table, so I decided to write one in elisp.  Of course, this is\neven more heavyweight.\n\nThis implementation stores keys as strings only for simplicity.\n\n* Usage:\n Put hashe.el in your emacs load path then, for example in IELM:\n\n#+BEGIN_SRC emacs-lisp\n  (require 'hashe)\n  ;; hashe\n\n  (setq h (make-hashe))\n  ;; [cl-struct-hashe 16 0 0 1.0 1.5 hashe-default-function\n  ;;                  [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]]\n\n  (hashe-put h 'key 'value)\n  ;; value\n\n  (hashe-get h \"key\")\n  ;; value\n\n  (hashe-get h 'key)\n  ;; value\n\n  (hashe-put h \"foo\" \"bar\")\n  ;; \"bar\"\n\n  (hashe-keys h)\n  ;; (\"key\" \"foo\")\n\n  (hashe-values h)\n  ;; (value \"bar\")\n\n  (hashe-to-alist h)\n  ;; ((\"key\" . value)\n  ;;  (\"foo\" . \"bar\"))\n\n  (hashe-get (hashe-from-plist (hashe-to-plist h)) 'foo)\n  ;; \"bar\"\n#+END_SRC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacebat%2Fhashe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacebat%2Fhashe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacebat%2Fhashe/lists"}