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 Refactored AddOnMonitor to allow an alternative constructor which does not 2010-12-05 14:59:27 +00:00
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 * Made the use of file devices more convenient and complete by adding 2008-10-13 21:51:43 +00:00
DiskDeviceList.h
DiskDevicePrivate.h
DiskDeviceRoster.h Make it clear from the API that the volume passed in is not touched by the 2009-04-22 14:13:45 +00:00
DiskDeviceTypes.h added exFAT partition type 2011-02-09 20:30:00 +00:00
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 * Added a handy BDiskSystem::SupportsWriting(). 2008-10-13 23:47:30 +00:00
DiskSystemAddOn.h DriveSetup: 2010-10-24 03:39:19 +00:00
DiskSystemAddOnManager.h DriveSetup: 2010-10-24 03:39:19 +00:00
DriverSettings.h Add C++ API for driver settings 2013-06-29 13:42:00 +02:00
Elf.h Added ELF64 support to BResources. 2009-11-25 17:14:29 +00:00
ElfX.h Added ELF64 support to BResources. 2009-11-25 17:14:29 +00:00
EntryOperationEngineBase.h BEntryOperationEngineBase::Entry: Add debug methods 2014-06-15 17:21:00 +02:00
Exception.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
FdIO.h Add private class BFdIO 2014-07-12 15:40:21 +02:00
FileDescriptorIO.h Added private BPositionIO derived classes BFileIO and BFileDescriptorIO which 2010-04-15 22:19:27 +00:00
FileIO.h Added private BPositionIO derived classes BFileIO and BFileDescriptorIO which 2010-04-15 22:19:27 +00:00
MergedDirectory.h Add private class BMergedDirectory to storage kit 2013-05-07 04:43:50 +02:00
MimeTypes.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
MutablePartition.h
NodeMonitorHandler.h Add stat fields to StatChanged hook. 2010-10-20 19:34:31 +00:00
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
PartitionParameterEditor.h Fixed design issues in BPartitionParameterEditor. 2013-02-02 01:13:19 +01:00
PartitioningInfo.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
PathMonitor.h BPathMonitor: rewrite 2013-06-27 21:57:44 +02:00
Pef.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
query_private.h Add a private B_ATTR_CHANGE_NOTIFICATION flag to the open query syscall to tell the query to send notifications when an entry attribute changed and the entry stays in the query. Previously you only get created and removed messages, now you can also get updated messages. Only implement it for bfs. 2010-10-24 20:47:46 +00:00
storage_support.h * {BEntry,BNode}::GetStat() were still passing the BeOS struct stat size to 2009-05-25 14:03:38 +00:00