avoid a substr() which costs us ~20% of runtime performance

This commit is contained in:
Lion Kortlepel
2024-06-19 16:18:11 +02:00
parent fc454cd11e
commit 17e887442c
5 changed files with 21 additions and 15 deletions

View File

@@ -8,4 +8,4 @@
#pragma once
#include <string>
std::string Comp(std::string Data);
std::string DeComp(std::string Compressed);
std::string DeComp(std::string_view Compressed);