TILOS-AI-Institute / MacroPlacement

Macro Placement - benchmarks, evaluators, and reproducible results from leading methods in open source
BSD 3-Clause "New" or "Revised" License
207 stars 41 forks source link

Find can be inefficient #48

Closed i-markov closed 1 year ago

i-markov commented 1 year ago

GetBBox() defines "normal" orientations in a container and then uses find() on this container. One could move this constant outside the function, but it's even better to avoid the container by encoding orientations with integers and using simple arithmetic tests.

i-markov commented 1 year ago

Seems addressed in FD code