mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
byte_slice was an abomination that used more than 400 lines of code to implement what can be implemented in about 20 lines of code with a std::shared_ptr<std::string> and a std::string_view and a couple convenience methods. Much of the levin noise generation using it used it gratuitously: they always allocate a new string, but then return that wrapped it in a byte_slice abomination because... well, there's no reason at all except apparently that the byte_slice author wanted to push byte_slice into places it didn't belong at all (even if you accept the overbuilt monstrosity). Those methods now take a string_view and return a string, which is what they should have done in the first place. |
||
---|---|---|
.. | ||
include | ||
src | ||
tests | ||
CMakeLists.txt | ||
LICENSE.txt | ||
README.md |
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.