NNanomsg icon indicating copy to clipboard operation
NNanomsg copied to clipboard

Simpler socket removal

Open RaymondTFreeman opened this issue 5 years ago • 0 comments

I was wondering why when removing a socket all of the sockets to to the right have to be copied over, so I came up with an alternative which is to overwrite the target socket with the last socket then decrement the count.

Would be interested to understand any technical reasons why you would opt for the former approach.

RaymondTFreeman avatar Jul 31 '19 05:07 RaymondTFreeman