In-place memory manager, mmap

Kris Kennaway kris at FreeBSD.org
Sun Aug 24 13:19:49 EDT 2008


castironpi wrote:
> On Aug 24, 9:52 am, Kris Kennaway <k... at FreeBSD.org> wrote:
>> castironpi wrote:
>>> Hi,
>>> I've got an "in-place" memory manager that uses a disk-backed memory-
>>> mapped buffer.  Among its possibilities are: storing variable-length
>>> strings and structures for persistence and interprocess communication
>>> with mmap.
>>> It allocates segments of a generic buffer by length and returns an
>>> offset to the reserved block, which can then be used with struct to
>>> pack values to store.  The data structure is adapted from the GNU PAVL
>>> binary tree.
>>> Allocated blocks can be cast to ctypes.Structure instances using some
>>> monkey patching, which is optional.
>>> Want to open-source it.  Any interest?
>> Just do it.  That way users can come along later.
>>
>> Kris
> 
> How?  My website?  Google Code?  Too small for source forge, I think.
> --
> http://mail.python.org/mailman/listinfo/python-list
> 
> 

Any of those 3 would work fine, but the last two are probably better 
(sourceforge hosts plenty of tiny projects) if you don't want to have to 
manage your server and related infrastructure yourself.

Kris



More information about the Python-list mailing list