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
Look at SymbolicEngine.h, we have two list playing the role of map. One is addresses to Reference ID and the other is addresses to Symbolic Variable ID.
So I suggest to change these lists to two maps (0(n) -> 0(log(n)).
The text was updated successfully, but these errors were encountered:
Pyraun
changed the title
Change the containers used in SymbolicEngine to obtain better complexity.
Change the containers in SymbolicEngine to obtain better complexity.
Jan 28, 2015
To fit our needs, a collision in memoryReference must result to an
overwrite of the ancient value. The insert method of std::map
doesn't do this, so we use the overloading of the [] operator
instead.
symVarMemoryReference becomes a map from a symVar ID to a memory
address. This way correspond to its future use.
I change the signature to quickly of isMemoryReference in the last
commit, it was an error.
The value -1 is used as a NIL value and so this method can
definitively not return an unsigned int!
Look at SymbolicEngine.h, we have two list playing the role of map. One is addresses to Reference ID and the other is addresses to Symbolic Variable ID.
So I suggest to change these lists to two maps (0(n) -> 0(log(n)).
The text was updated successfully, but these errors were encountered: