oxen-core/contrib/epee
Jason Rhinelander 0706727000 Replace epee::byte_slice with much simpler shared_sv
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.
2020-07-02 12:52:13 -03:00
..
include Replace epee::byte_slice with much simpler shared_sv 2020-07-02 12:52:13 -03:00
src Replace epee::byte_slice with much simpler shared_sv 2020-07-02 12:52:13 -03:00
tests Replace boost::bind with lambdas 2020-07-02 12:52:13 -03:00
CMakeLists.txt Update 2019 copyright 2019-03-05 22:05:34 +01:00
LICENSE.txt year updated in license 2015-01-02 18:52:46 +02:00
README.md year updated in license 2015-01-02 18:52:46 +02:00

epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.