r197: allocate index seq names from kalloc

to reduce malloc() overhead.
This commit is contained in:
Heng Li
2017-07-24 19:36:05 -04:00
parent 5c4d040b13
commit f81f37fef1
3 changed files with 14 additions and 8 deletions
+1
View File
@@ -46,6 +46,7 @@ typedef struct {
mm_idx_seq_t *seq; // sequence name, length and offset
uint32_t *S; // 4-bit packed sequence
mm_idx_bucket_t *B; // index
void *km;
} mm_idx_t;
typedef struct {