Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeakCacheSets

This package impliments 1 datastructe WeakCacheSet and one function getkey!. WeakCacheSet is simiar to a julia WeakKeyDict, but specificially taylored to use as a cache. A WeakKeyDict has significant overhead. Specifically, WeakKeyDict has a lot of overhead necessary to keep track of length and to support manual deletion. By contrast, WeakCacheSet has only a constructor and getkey! which functions as follows:

getkey!(c::WeakCacheSet, key) if key is equal to an entry in c, return that key. Otherwise, insert the provided key and return it.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages