STORE函数同时在主数组和辅数组(常规和反向映射)中创建一个项。
The STORE function creates an entry in both the primary and the secondary array (normal and reverse mapping).
这些例程通常称为回调函数,因为在操作发生时会反向调用它们。
These routines are typically named callback functions, as they're called back to work upon some action.
删除函数略微有些复杂,因为我们还想删除正在删除的键的反向映射。
Deletions are a little more complex, because we also want to delete the reverse mapping for the key we're deleting.
应用推荐