Add comment about previous perf-related commit

This commit is contained in:
Nigel Tao committed 2018-12-29 14:10:57 +11:00
1 parent 3bf9573653
commit c4cc0f4177
1 file changed
+3
+3
View File
@@ -205,6 +205,9 @@ pri func decoder.decode_blocks?(dst base.io_writer, src base.io_reader) {
// TODO: "if status.is_error()" is probably more idiomatic, but for
// some mysterious, idiosyncratic reason, performs noticably worse
// for gcc (but not for clang).
//
// See git commit 3bf9573 "Work around strange status.is_error
// performance".
if not status.is_ok() {
return status
}