diff --git a/source/dyaml/reader.d b/source/dyaml/reader.d index 03cf12b..e644679 100644 --- a/source/dyaml/reader.d +++ b/source/dyaml/reader.d @@ -162,7 +162,6 @@ final class Reader // determine the length of some sequence. if(index == lastDecodedCharOffset_) { - ++decodeCount_; ++lastDecodedCharOffset_; const char b = buffer8_[lastDecodedBufferOffset_]; @@ -175,7 +174,6 @@ final class Reader return decodeValidUTF8NoGC(buffer8_, lastDecodedBufferOffset_); } - // 'Slow' path where we decode everything up to the requested character. lastDecodedCharOffset_ = 0; lastDecodedBufferOffset_ = bufferOffset8_;