Skip to content

fd_set iteration optimization #96

@kbrddestroyer

Description

@kbrddestroyer

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 == maxSocket and while it looks like common practice, I personally find this irrational

The goal is to optimize fd_set iteration while keeping it crossplatform.

UPD. Remove // todo:

UPD. Currently this functional is implemented in wip branch

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is neededrefactorSome code-styling and optimization stuff

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions