Skip to content

Commit e1b6357

Browse files
Add comment where to optimize ramview printing.
1 parent a594553 commit e1b6357

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ramview.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,15 @@ void ramview(const char *file, const char *query, bool cache = true, bool perfst
9191
for (j = start_entry; j < end_entry; j++) {
9292
t->GetEntry(j);
9393
// r->Print();
94+
// Add optimized printing here. Like in samview where they print
95+
// using sprintf and write per 4096 bytes to stdout.
9496
}
9597

9698
t->GetEntry(j);
9799
while (r->GetPOS() < range_end) {
98100
// r->Print();
101+
// Add optimized printing here. Like in samview where they print
102+
// using sprintf and write per 4096 bytes to stdout.
99103
j++;
100104
t->GetEntry(j);
101105
}

0 commit comments

Comments
 (0)