Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 659c03bbf8
1471 files changed
+990535

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# probe: does a Dict iterate in insertion order, and after a pop and re-insert?
def main() raises:
var d = Dict[Int, String]()
d[3] = "c"
d[1] = "a"
d[2] = "b"
for k in d.keys():
print(k)
_ = d.pop(1)
d[1] = "a again"
for e in d.items():
print(e.key, e.value)