haiku/headers/private/storage
Adrien Destugues 1ed08f5856 Speed up BResource loading
The code to parse the resource table reads one entry at a time because
the table size isn't known. This resulted in a lot of read syscalls,
each reading just 12 bytes. Use a BBufferIO to buffer these and reduce
the number of syscalls. This helps especially when there are lot of
resources, for example in libbe with all the country flags.

It also removes some spam from strace output for all these read calls.

Change-Id: Ib165a0eacc2bc5f3d319c22c2fac4f439efbdef2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2858
Reviewed-by: Rene Gollent <rene@gollent.com>
2020-06-01 14:09:54 +00:00
..
mime
sniffer
AddOnMonitor.h
AddOnMonitorHandler.h
CopyEngine.h
DiskDevice.h
DiskDeviceList.h
DiskDevicePrivate.h
DiskDeviceRoster.h
DiskDeviceTypes.h
DiskDeviceVisitor.h
DiskScannerAddOn.h
DiskSystem.h
DiskSystemAddOn.h
DiskSystemAddOnManager.h
DriverSettings.h
Elf.h
ElfX.h
EntryOperationEngineBase.h
Exception.h
FdIO.h
FileDescriptorIO.h
FileIO.h
MergedDirectory.h
MimeTypes.h
MutablePartition.h
NodeMonitorHandler.h
NotOwningEntryRef.h
OffsetFile.h
Partition.h
PartitioningInfo.h
PartitionParameterEditor.h
PathMonitor.h
Pef.h
query_private.h
QueryPredicate.h
RemoveEngine.h
ResourceFile.h
ResourceItem.h
ResourcesContainer.h
ResourcesDefs.h
storage_support.h