lazy-evaluation

标签

Cards List
#lazy-evaluation

Super Mario Derivations

Lobsters Hottest · 2026-08-06 缓存

The article explores Nix's laziness, showing how attribute paths can lazily generate infinite trees, and turns this into a fun hack where each button press in Super Mario Bros. 3 is a separate Nix derivation with the store as savestate history.

0 人收藏 0 人点赞
#lazy-evaluation

@driscollis: Learn how to create module-level lazy assignments in #Python in my friend Anthony's new video:

X AI KOLs Timeline · 2026-07-30 缓存

Anthony 介绍了一个名为 lazy_static 的 Python 库,它利用惰性导入机制实现模块级惰性赋值,避免 import 阶段的开销。视频展示了如何使用装饰器推迟计算和导入,并解释了其内部工作原理。

0 人收藏 0 人点赞
← 返回首页

提交意见反馈