Add comment on lzw.decoder.suffixes performance

This commit is contained in:
Nigel Tao committed 2019-02-03 15:32:40 +11:00
1 parent 3056a84393
commit d9c36922db
1 file changed
+7 -1
+7 -1
View File
@@ -17,7 +17,13 @@ pub status "?bad code"
pri status "?internal error: inconsistent I/O"
// TODO: move bulk data buffers like decoder.suffixes or decoder.output into
// the workbuf?
// the workbuf? The first attempt at this was a performance regression for
// decoding all but the smallest GIFs. See these git commits for numbers:
// - 49627b4 Flatten the lzw.decoder.suffixes array
// - f877fb2 Use the workbuf instead of lzw.decoder.suffixes
// - 85be5b9 Delete the obsolete lzw.decoder.suffixes array
// and the roll back has combined numbers:
// - 3056a84 Roll back 3 recent lzw.decoder.suffixes commits
pub const decoder_workbuf_len_max_incl base.u64 = 0
pub struct decoder?(