mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Optimize memory for readers and writers
This commit is contained in:
1 parent
f83032e643
commit
886b5d9a96
11 files changed
+48
-13
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package obiiter
|
||||
|
||||
import (
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obioptions"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -40,8 +41,8 @@ func (iter IBioSequence) PairTo(p IBioSequence) IBioSequence {
|
||||
|
||||
newIter := MakeIBioSequence()
|
||||
|
||||
iter = iter.SortBatches()
|
||||
p = p.SortBatches()
|
||||
iter = iter.SortBatches().Rebatch(obioptions.CLIBatchSize())
|
||||
p = p.SortBatches().Rebatch(obioptions.CLIBatchSize())
|
||||
|
||||
newIter.Add(1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user