in reply to Re: Re: Fast shared data structures
in thread Fast shared data structures
There's no way to share a coderef short of actually hacking some XS code, and even then it may not be possible. If it was easy, I assume that Storable would already do it. However, it sounds like you're saying that your data is hashes, not code refs. Those can be serialized. You could do a multi-level cache, with an in-memory version and a shared version serialized on disk. Take a look at MLDBM::Sync for an example, or HTML::Template.
|
---|