diff --git a/README.md b/README.md index 71aa1df..e9866d6 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,11 @@ To use, first [install Leiningen](http://leiningen.org/#install). Start a REPL in the top-level directory of this repository. ```clojure -ambrose@ambrose-VirtualBox:~/Projects/B503/term-project$ lein repl -nREPL server started on port 41576 on host 127.0.0.1 - nrepl://127.0.0.1:41576 -REPL-y 0.3.7, nREPL 0.2.12 -Clojure 1.9.0-alpha13 -Java HotSpot(TM) 64-Bit Server VM 1.8.0_101-b13 +$ lein repl +nREPL server started on port 49771 on host 127.0.0.1 - nrepl://127.0.0.1:49771 +REPL-y 0.5.1, nREPL 0.8.3 +Clojure 1.11.3 +OpenJDK 64-Bit Server VM 21.0.1+12-LTS Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) @@ -47,7 +47,6 @@ Java HotSpot(TM) 64-Bit Server VM 1.8.0_101-b13 user=> (require '[com.ambrosebs.map :as hamt]) nil -user=> ``` The function `hamt/hash-map` then creates a new HAMT diff --git a/example.dot b/example.dot index 88368d3..4a24ddd 100644 --- a/example.dot +++ b/example.dot @@ -3,74 +3,74 @@ graph[dpi=100, rankdir=TP] node[fontname="Monospace"] edge[fontname="Monospace"] -node6550[label="PersistentHashMap"] -node6551[label="Level 0 BitmapIndexedNode bitmap: +node2866[label="PersistentHashMap"] +node2867[label="Level 0 BitmapIndexedNode bitmap: 01100001010110100100000000000000 Capacity: 8/8", shape=box] -node6552[label=":a +node2868[label=":a Hash bits 0-4: 11110", shape=box] -node6553[label="1"] -node6554[label=":i +node2869[label="1"] +node2870[label=":i Hash bits 0-4: 11101", shape=box] -node6555[label="9"] -node6556[label="Hash bits 0-4: 11000 +node2871[label="9"] +node2872[label="Hash bits 0-4: 11000 Level 1 BitmapIndexedNode bitmap: 00000000000000000000010000000000 Capacity: 1/4", shape=box] -node6557[label="Hash bits 5-9: 01010 +node2873[label="Hash bits 5-9: 01010 Level 2 BitmapIndexedNode bitmap: 00000000000000000000000100000001 Capacity: 2/4", shape=box] -node6558[label=":f +node2874[label=":f Hash bits 10-14: 01000", shape=box] -node6559[label="6"] -node6560[label=":d +node2875[label="6"] +node2876[label=":d Hash bits 10-14: 00000", shape=box] -node6561[label="4"] -node6562[label=":b +node2877[label="4"] +node2878[label=":b Hash bits 0-4: 10110", shape=box] -node6563[label="2"] -node6564[label=":h +node2879[label="2"] +node2880[label=":h Hash bits 0-4: 10100", shape=box] -node6565[label="8"] -node6566[label=":j +node2881[label="8"] +node2882[label=":j Hash bits 0-4: 10011", shape=box] -node6567[label="10"] -node6568[label="Hash bits 0-4: 10001 +node2883[label="10"] +node2884[label="Hash bits 0-4: 10001 Level 1 BitmapIndexedNode bitmap: 00000000100000000010000000000000 Capacity: 2/4", shape=box] -node6569[label=":c +node2885[label=":c Hash bits 5-9: 10111", shape=box] -node6570[label="3"] -node6571[label=":g +node2886[label="3"] +node2887[label=":g Hash bits 5-9: 01101", shape=box] -node6572[label="7"] -node6573[label=":e +node2888[label="7"] +node2889[label=":e Hash bits 0-4: 01110", shape=box] -node6574[label="5"] -node6550 -> node6551[label=""] -node6551 -> node6552[label=""] -node6551 -> node6554[label=""] -node6551 -> node6556[label=""] -node6551 -> node6562[label=""] -node6551 -> node6564[label=""] -node6551 -> node6566[label=""] -node6551 -> node6568[label=""] -node6551 -> node6573[label=""] -node6552 -> node6553[label=""] -node6554 -> node6555[label=""] -node6556 -> node6557[label=""] -node6557 -> node6558[label=""] -node6557 -> node6560[label=""] -node6558 -> node6559[label=""] -node6560 -> node6561[label=""] -node6562 -> node6563[label=""] -node6564 -> node6565[label=""] -node6566 -> node6567[label=""] -node6568 -> node6569[label=""] -node6568 -> node6571[label=""] -node6569 -> node6570[label=""] -node6571 -> node6572[label=""] -node6573 -> node6574[label=""] +node2890[label="5"] +node2866 -> node2867[label=""] +node2867 -> node2868[label=""] +node2867 -> node2870[label=""] +node2867 -> node2872[label=""] +node2867 -> node2878[label=""] +node2867 -> node2880[label=""] +node2867 -> node2882[label=""] +node2867 -> node2884[label=""] +node2867 -> node2889[label=""] +node2868 -> node2869[label=""] +node2870 -> node2871[label=""] +node2872 -> node2873[label=""] +node2873 -> node2874[label=""] +node2873 -> node2876[label=""] +node2874 -> node2875[label=""] +node2876 -> node2877[label=""] +node2878 -> node2879[label=""] +node2880 -> node2881[label=""] +node2882 -> node2883[label=""] +node2884 -> node2885[label=""] +node2884 -> node2887[label=""] +node2885 -> node2886[label=""] +node2887 -> node2888[label=""] +node2889 -> node2890[label=""] } diff --git a/example.png b/example.png index 31d6d31..5e9dedd 100644 Binary files a/example.png and b/example.png differ