https://github.com/mupq/pqm4
Revision 4702ce9320e360582d555240974f72564b92b598 authored by Marco Palumbi on 20 January 2024, 09:21:05 UTC, committed by Marco Palumbi on 20 January 2024, 09:21:05 UTC
1 parent ca8b4f3
Tip revision: 4702ce9320e360582d555240974f72564b92b598 authored by Marco Palumbi on 20 January 2024, 09:21:05 UTC
improve compression for short levels I and II
improve compression for short levels I and II
Tip revision: 4702ce9
convert_benchmarks.py
#!/usr/bin/env python3
import sys
from mupq import mupq
def usage():
print("Usage: python3 convert_benchmarks.py csv|md")
sys.exit(1)
if __name__ == "__main__":
if len(sys.argv) != 2:
usage()
if sys.argv[1] == "csv":
converter = mupq.CsvConverter()
elif sys.argv[1] == "md":
converter = mupq.MarkdownConverter()
else:
usage()
converter.convert()
Computing file changes ...