Optimize memory for readers and writers

This commit is contained in:
Eric Coissac committed 2024-08-05 10:48:28 +02:00
1 parent f83032e643
commit 886b5d9a96
11 files changed
+48 -13

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ func WriteFastq(iterator obiiter.IBioSequence,
options ...WithOption) (obiiter.IBioSequence, error) {
opt := MakeOptions(options)
iterator = iterator.Rebatch(opt.BatchSize())
iterator = iterator
file, _ = obiutils.CompressStream(file, opt.CompressedFile(), opt.CloseFile())