Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
def cache_lookup(sensor_id: Int) -> Int:
if sensor_id == 7:
return 512
return None
def main() raises:
var hit = cache_lookup(7)
var miss = cache_lookup(3)
if hit:
print('hit:', hit.value())
else:
print('hit:', hit)
if miss:
print('miss:', miss.value())
else:
print('miss:', miss)