Files
obitools4/pkg/obiutils
Eric Coissac 40769bf827 Add memory-based batching support
Implement memory-aware batch sizing with --batch-mem CLI option, enabling adaptive batching based on estimated sequence memory footprint. Key changes:
- Added _BatchMem and related getters/setters in pkg/obidefault
- Implemented RebatchBySize() in pkg/obiter for memory-constrained batching
- Added BioSequence.MemorySize() for conservative memory estimation
- Integrated batch-mem option in pkg/obioptions with human-readable size parsing (e.g., 128K, 64M, 1G)
- Added obiutils.ParseMemSize/FormatMemSize for unit conversion
- Enhanced pool GC in pkg/obiseq/pool.go to trigger explicit GC for large slice discards
- Updated sequence_reader.go to apply memory-based rebatching when enabled
2026-03-13 14:54:21 +01:00
..
2025-01-24 18:09:59 +01:00
2024-10-28 21:51:21 +01:00
2023-08-27 16:23:09 +02:00
2023-08-27 16:23:09 +02:00
2023-08-27 16:23:09 +02:00
2024-07-25 18:09:03 -04:00
2026-03-13 14:54:21 +01:00
2025-08-08 10:23:03 -04:00
2025-11-18 15:30:20 +01:00
2023-08-27 16:48:15 +02:00
2025-01-24 18:09:59 +01:00
2025-01-24 18:09:59 +01:00
2025-02-27 10:19:39 +01:00
2024-12-20 19:42:03 +01:00