https://github.com/mupq/pqm4
Revision 8d44b724396ddbc0db55d5de93bec252cedb9c04 authored by Matthias J. Kannwischer on 13 August 2024, 00:06:44 UTC, committed by GitHub on 13 August 2024, 00:06:44 UTC
1 parent 6554684
Tip revision: 8d44b724396ddbc0db55d5de93bec252cedb9c04 authored by Matthias J. Kannwischer on 13 August 2024, 00:06:44 UTC
init msg buffer in {speed,hashing}.c (#351)
init msg buffer in {speed,hashing}.c (#351)
Tip revision: 8d44b72
convert_benchmarks.py
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0 or CC0-1.0
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 ...