libpy is a custom library developed for testing and custom purposes. All of the code present in this codebase is not recomended for production, and under no circumstance I make myself accountable for nefarious nor missuse of this code.
strutilsis utility code for string related utility. It comes with a tokenizer.dsis utility code for generating data structures. It comes with a tree module.arrayis utility code for array related utility. It comes with a LazyBuffer.
More to come.
Refer to each module to understand how to use it. Consult the docs
-
Better GTNode representation. Should return a string containing the node minimum representation: the hash, the parent's hash and the hashes of the children nodes.
-
LazyBuffer is somewhat faster (right now only 1.005x LOL). This structure is incredible simple at the moment. Quite stupid to be fair.
-
LazyBuffer compatible with Numpy or any type of Iterable that can be used i operations such as
__add__,__sub__, ... . -
tokenize()should havetokenize_iter()for the generator and another functiontokenizer()who returns the list itself.