Does Python's shelve module use memory-mapped IO?

Posted by Matt Luongo on Stack Overflow See other posts from Stack Overflow or by Matt Luongo
Published on 2010-04-11T22:18:52Z Indexed on 2010/04/11 22:23 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

Does anyone know if Python's shelve module uses memory-mapped IO?

Maybe that question is a bit misleading. I realize that shelve uses an underlying dbm-style module to do its dirty work. What are the chances that the underlying module uses mmap?

I'm prototyping a datastore, and while I realize premature optimization is generally frowned upon, this could really help me understand the trade-offs involved in my design.

© Stack Overflow or respective owner

Related posts about python

Related posts about shelve