Differences From Artifact [5684940cda]:
- File
src/ObjFW.h
— part of check-in
[7ecdc71677]
at
2016-05-22 19:53:38
on branch trunk
— Add OFTarArchive
This only implements the UNIX v7 format for now. (user: js, size: 5025) [annotate] [blame] [check-ins using]
To Artifact [c7a3d9e2ec]:
- File
src/ObjFW.h
— part of check-in
[134a1121c7]
at
2016-05-29 13:02:05
on branch trunk
— Rename OFInflateStream back to OFDeflateStream
The reason for renaming to OFInflateStream was to have one stream for
decompression and one for compression in order to reduce memory usage if
only one of the two is needed, as the ivar layout will be smaller then.
However, it is more consistent with other stream classes to have one
stream that can handle both. The increased memory footprint of having
ivars for compression and decompression can be solved by having a
pointer to those instead. This will not incur any performance penalty,
as the pointer will be dereferenced instead of the ivars, meaning the
overhead is only getting the pointer from the ivars once. (user: js, size: 5025) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
41 42 43 44 45 46 47 | #import "OFNumber.h" #import "OFDate.h" #import "OFURL.h" #import "OFStream.h" #import "OFStdIOStream.h" | | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #import "OFNumber.h" #import "OFDate.h" #import "OFURL.h" #import "OFStream.h" #import "OFStdIOStream.h" #import "OFDeflateStream.h" #import "OFDeflate64Stream.h" #import "OFGZIPStream.h" #import "OFTarArchive.h" #import "OFTarArchiveEntry.h" #import "OFZIPArchive.h" #import "OFZIPArchiveEntry.h" #ifdef OF_HAVE_FILES # import "OFFile.h" |
︙ | ︙ |