Bloatier - A String Bloater/Debloater Algorithm
Description: My custom format algorithm with loosy RAM allocation
and terribly huge time and space complexity that bloats and debloats
string and string-like types.
Sample
Using bloat/debloat for basic stage format:
from bloatier import bloatier
string_ = "This is a string"
bloated_string = bloatier.bloat(string_)
print("Bloated String:\n", bloated_string)
print("Debloated String\n", bloatier.debloat(bloated_string))
Note: You can also use bloats/debloats for multi-stage format. (if you have enough RAM :>)
The string being used by the algorithm and the outputs are all stored
in a dictionary "obtain" and can be acquired by using the acquired function.
There is a main bloatier class and 5 local functions related to the main class.
- bloatier class
- bloat method
- bloats method
- debloat method
- debloats method
- acquire method
- bloat function
- bloats function
- debloat function
- debloats function
- acquire function