|
_unaryToUInt64.Add(unary = Links.GetOrCreate(unary, unary), number = (Integer<TLink>)((Integer<TLink>)number * 2UL)); |
Try to implement converter that creates links on demand only without precreation.
To to this, we have to check that target is a power of two here:
|
while (!_unaryToUInt64.TryGetValue(target, out lastValue)) |
Data.Doublets/Converters/UnaryNumberToAddressAddOperationConverter.cs
Line 31 in 0bf35d8
Try to implement converter that creates links on demand only without precreation.
To to this, we have to check that
targetis a power of two here:Data.Doublets/Converters/UnaryNumberToAddressAddOperationConverter.cs
Line 55 in 0bf35d8