There is a benchmark for Compression https://www.wikiwand.com/en/Weissman_score
This can be applied to Short Strings too, in comparison to:
The equation for a single algorithm: Compression Ratio / Log(Time Required)
Issue: How does one check the speed if the string is short?
Solution: Aggregation of results based on compression of multiple short strings
Issue: How can the data be aggregated?
A: On a String-to-String basis then average the score
B: Concatenate all Strings and their time usage, then calculate the score.
Issue: Using Python to time the speed of each algorithm
Solution: Maybe use C instead? Or there is a way to do this with Python?
There is a benchmark for Compression https://www.wikiwand.com/en/Weissman_score
This can be applied to Short Strings too, in comparison to:
The equation for a single algorithm: Compression Ratio / Log(Time Required)
Issue: How does one check the speed if the string is short?
Solution: Aggregation of results based on compression of multiple short strings
Issue: How can the data be aggregated?
A: On a String-to-String basis then average the score
B: Concatenate all Strings and their time usage, then calculate the score.
Issue: Using Python to time the speed of each algorithm
Solution: Maybe use C instead? Or there is a way to do this with Python?