Hochfrequenz / mig_ahb_utility_stack

MIG AHB Utility Stack (MAUS): A Script to Match the Message Implementation Guide (MIG) with the Anwendungshandbuch (AHB)
MIT License
2 stars 0 forks source link

Build a "in"-check for lines in FlatAnwendungshandbuch #292

Open hf-kklein opened 1 year ago

hf-kklein commented 1 year ago

Ideally you could check in O(1) if a line with specific properties is contained in an anwendungshandbuch:

https://github.com/Hochfrequenz/kohlrahbi/blob/c9143fdc134977548199e3374aaa98bd226e1eba/src/kohlrahbi/unfoldedahb/unfoldedahbtable.py#L51

idea: maybe build something like a lookup structure or make the ahbline hashable?