I am trying to pair two unique values, lets call them A and B, there is no mathematical correlation between them. When having value A I want to know value B and vice versa. I thought of creating two mappings:
mapping( uint32 => byte32 ) toB; mapping( byte32 => uint32 ) toA;
However I will need to store each value twice, is there another solution to this ?