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 s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
sniffer s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
AddOnMonitor.h
AddOnMonitorHandler.h Consolidate adding add-on directories 2013-10-17 01:28:31 -04:00
CopyEngine.h BCopyEngine: Add base class BEntryOperationEngineBase 2013-09-27 00:51:30 +02:00
DiskDevice.h
DiskDeviceList.h
DiskDevicePrivate.h
DiskDeviceRoster.h
DiskDeviceTypes.h
DiskDeviceVisitor.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
DiskScannerAddOn.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
DiskSystem.h
DiskSystemAddOn.h
DiskSystemAddOnManager.h
DriverSettings.h Add C++ API for driver settings 2013-06-29 13:42:00 +02:00
Elf.h
ElfX.h
EntryOperationEngineBase.h BEntryOperationEngineBase::Entry: Add debug methods 2014-06-15 17:21:00 +02:00
Exception.h
FdIO.h Add private class BFdIO 2014-07-12 15:40:21 +02:00
FileDescriptorIO.h
FileIO.h
MergedDirectory.h Add private class BMergedDirectory to storage kit 2013-05-07 04:43:50 +02:00
MimeTypes.h
MutablePartition.h
NodeMonitorHandler.h
NotOwningEntryRef.h <NotOwningEntryRef.h>: Denote BPrivate explicitly 2013-09-27 00:51:29 +02:00
OffsetFile.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
Partition.h storage kit: don't expose the dev_t in BPartition::Mount() 2014-09-15 16:28:41 +12:00
PartitioningInfo.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
PartitionParameterEditor.h
PathMonitor.h BPathMonitor: rewrite 2013-06-27 21:57:44 +02:00
Pef.h
query_private.h
QueryPredicate.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
RemoveEngine.h Add BRemoveEngine 2013-09-27 00:51:30 +02:00
ResourceFile.h Speed up BResource loading 2020-06-01 14:09:54 +00:00
ResourceItem.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
ResourcesContainer.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
ResourcesDefs.h
storage_support.h