-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTODO
More file actions
13 lines (12 loc) · 671 Bytes
/
TODO
File metadata and controls
13 lines (12 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
Things to do to cfile:
improvements:
* cfsize returns 0 on a file being written? Or keep a track of how
many bytes we've written and return that.
* cfile can also provide cfgetc
* providing cfungetc seems pointless though - who uses ungetc?
* Can we read the size of a BZIP2 file by finding and counting each block in
turn? Presumably each block knows how much compressed
data it contains so it can find the next block, and how much uncompressed
data it contains because it has to do the Burrows-Wheeler Transform on a fixed size.
Skipping through blocks like that would be quicker than reading the whole
file... Maybe talk to Julian Seward about this?