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
It seems that tcmdbiterinit2 initialises the iterator before the first element. Then calling tcmdbiternext once puts the iterator at the start record, and calling it again moves it on to the next record.
https://github.com/sociomantic-tsunami/dhtnode/blob/master/src/dhtnode/storage/StorageEngine.d#L625-L628
It seems this is necessary, in the current structure, but I wonder if it could be refactored to not need to do this.
The text was updated successfully, but these errors were encountered: