From 99b8c1cb9e69459addae9d5567899126c14a83e2 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Mon, 23 May 2022 16:21:51 +1000 Subject: [PATCH] Add std/bzip2 comment re QUIRK_IGNORE_CHECKSUM --- std/bzip2/decode_bzip2.wuffs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/std/bzip2/decode_bzip2.wuffs b/std/bzip2/decode_bzip2.wuffs index c06e0733..3c18b912 100644 --- a/std/bzip2/decode_bzip2.wuffs +++ b/std/bzip2/decode_bzip2.wuffs @@ -95,7 +95,8 @@ pub struct decoder? implements base.io_transformer( ) pub func decoder.set_quirk_enabled!(quirk: base.u32, enabled: base.bool) { - // TODO: support base.QUIRK_IGNORE_CHECKSUM. + // We do not support base.QUIRK_IGNORE_CHECKSUM. Benchmarks suggest that + // checksum calculation has an insignificant effect on performance. } pub func decoder.workbuf_len() base.range_ii_u64 {