Some optimizations

This commit is contained in:
Brandon Rozek 2024-04-15 00:08:00 -04:00
parent 9f985740e0
commit 20ccacc166
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
5 changed files with 132 additions and 57 deletions

4
common.py Normal file
View file

@ -0,0 +1,4 @@
from typing import Set
def set_to_str(x: Set) -> str:
return "{" + ", ".join((str(xi) for xi in x)) + "}"