Unverified Commit 96bde092 authored by Jack Koenig's avatar Jack Koenig Committed by GitHub
Browse files

Improve performance of ChiselEnum annotations (#2923)

ChiselEnums check if they should create annotations every time an
instance of them is bound. Because so many annotations would be created,
they check to see if an equivalent annotation has already been added to
the annotations. Previously, this used a linear search of the
annotations, now it uses a HashSet.
parent ae83bbba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment