Skip to main content
引用缓存和实例比较。

可用函数

cache.invalidate

移除给定 Instance 的已缓存 Instance cache 条目。

cache.iscached

返回给定 Instance 在 Instance cache 中是否有 non-nil 条目。

cache.replace

Sets the cached Instance entry for one Instance to another Instance.

cloneref

为同一个底层 Instance 指针 push 一个新的 Instance 引用并返回它。

compareinstances

比较两个 Instance object 值中存储的内部 Instance 指针值。