haiku/headers
Ingo Weinhold 46122852f1 packagefs: Add caching for the package file heap reader
* ReaderImplBase:
  - Add virtual CreateCachedHeapReader() which can create a cached
    reader based on the given heap reader.
  - Rename HeapReader() to RawHeapReader() and add HeapReader() for the
    cached heap reader.
  - Add DetachHeapReader() to allow a clients to remove the heap
    reader(s) after deleting the ReaderImplBase object.
* packagefs:
  - Add CachedDataReader class, which wraps a given
    BAbstractBufferedDataReader and provides caching for it using a
    VMCache. The implementation is based on the IOCache implementation.
  - Use CachedDataReader to wrap the heap reader. For file data that
    means they are cached twice -- in the heap reader cache and in the
    file cache -- but due to the heap reader using a VMCache as well,
    the pages will be recycled automatically anyway. For attribute data
    the cache should be very helpful, since they weren't cached at all
    before.
2013-05-25 01:12:32 +02:00
..
build hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
compatibility Drop "protected"-define from bsd-compatibility header 2012-11-05 09:37:55 +01:00
config Merge branch 'master' into x86_64 2012-08-16 21:11:15 +01:00
cpp Allow use of c_str() on wstring. 2012-10-27 17:14:55 +02:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
libs Complete outsourcing of zlib 2013-05-06 04:37:18 +02:00
os package: Suppress version mismatch errors where V1 is supported 2013-05-25 01:12:31 +02:00
posix libnetwork: Check for ipv4 flag in resolv.conf 2013-04-14 17:03:32 -05:00
private packagefs: Add caching for the package file heap reader 2013-05-25 01:12:32 +02:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00