Skip to content

Commit

Permalink
unroll
Browse files Browse the repository at this point in the history
  • Loading branch information
lepelog authored Jan 18, 2024
1 parent bc2c463 commit 64dc6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nlzss11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static void Decompress(tcb::span<const u8> src, tcb::span<u8> dst) {
if (base < dst.begin() || dst_it + length > dst.end()) {
throw std::invalid_argument("Copy is out of bounds");
}
#pragma GCC unroll 0
#pragma GCC unroll 1
for (size_t i = 0; i < length; ++i)
*dst_it++ = base[i];
}
Expand Down

0 comments on commit 64dc6c3

Please sign in to comment.