-
Notifications
You must be signed in to change notification settings - Fork 1
fd_set iteration optimization #96
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededrefactorSome code-styling and optimization stuffSome code-styling and optimization stuff
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededrefactorSome code-styling and optimization stuffSome code-styling and optimization stuff
fd_set content seems to be different on UNIX-like and Windows systems. While Windows has fd_array inside, Linux has not (or maybe I've lost something, but at least my first implementation hasn't compiled on Linux)
Currently it iterates until
currentSocket == maxSocketand while it looks like common practice, I personally find this irrationalThe goal is to optimize fd_set iteration while keeping it crossplatform.
UPD. Remove
// todo:UPD. Currently this functional is implemented in wip branch