Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Add an prefix '/dev/shm/' to `name`, so that the file is saved only in memory
For more information, see `help(Cacher)`

        def MemCacher(name, capacity=0, force_init=False, serializer=marshal):
    """
    Add an prefix '/dev/shm/' to `name`, so that the file is saved only in memory
    For more information, see `help(Cacher)`
    """
    name = '/dev/shm/' + name
    return Cacher(name, capacity, force_init, serializer)
        


src/p/y/pyshmht-0.0.2/pyshmht/__init__.py   pyshmht(Download)
#!/bin/env python
 
from HashTable import HashTable
from Cacher import Cacher, MemCacher