记忆一个功能将为功能添加一个透明的缓存封装,因此已经得到的值将从缓存中返回而不是每次都重建。
Memoizing a function adds a transparent caching wrapper to the function, so that function values that have already been obtained are returned from a cache rather than being rebuilt each time.
一位名叫卢克·杰拉姆的艺术家日前创造出一枚可以"储存记忆"的结婚戒指。 这枚戒指内置有镜头和透明幻灯片,即杰拉姆和他新婚妻子的照片(见图)。
Artist Luke Jerram has created a wedding ring featuring a built-in lens and a transparent slide of the creator and his bride (see photo).
在理想状况下,与记忆体之间进行的文件序列化和还原序列化程序对于应用程式而言应该是透明的。
The application calls a serializer "write" method to save the document, while a deserializer "read" method accesses the data store and recreates the original instance in memory.
应用推荐