skynet
skynet copied to clipboard
a little enhancement about skynet_timer.c
Just a quick review about the skynet_timer.c, its a very cool timer impl, and found the line https://github.com/cloudwu/skynet/blob/master/skynet-src/skynet_timer.c#L135 can move into the while loop of L138, to reduce the unnecessary shift operation.
I don't want to do it, because the shift is fast and it's not the bottleneck.