You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can look at the Cranelift datastructures to figure out what the API should look like. An alternative is to use petgraph (or atleast we can use it initially)
For the record this is exactly the strategy we already have in the SSA module where data is stored in an Arena and referenced by its id being the index of the arena.
Problem
A common strategy that wil be present in our SSA module is:
Where data gets stored in some Arena/Map and the
DataId
is the reference to get theData
from the Arena/Map.Proposed solution
Implement a common data structure to abstract away this information. Cranelift uses PrimaryMap and SecondaryMap.
Alternatives considered
No response
Additional context
No response
Submission Checklist
The text was updated successfully, but these errors were encountered: