You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2018. It is now read-only.
It seems that shelve caches writes until close or sync (this means huge performance.)
sshelve seems like it should be a drop-in replacement, but instead of caching (or having an option to do so) it does a "sync" (or commit) after every write or delete. It does seem to cache for reads, but that is only half the story.
I do know of the "update" method, but that means complete rewrite of the logic of the programs that use shelve.
I don't think it would be too difficult to implement the caching, and I'm willing to write it, but I guess the question is... is there a reason this was specifically left out?
It seems that shelve caches writes until close or sync (this means huge performance.)
sshelve seems like it should be a drop-in replacement, but instead of caching (or having an option to do so) it does a "sync" (or commit) after every write or delete. It does seem to cache for reads, but that is only half the story.
I do know of the "update" method, but that means complete rewrite of the logic of the programs that use shelve.
I don't think it would be too difficult to implement the caching, and I'm willing to write it, but I guess the question is... is there a reason this was specifically left out?