Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ValidateTCP() by using a hash table #189

Open
MatiasVara opened this issue Apr 2, 2018 · 1 comment
Open

Improve ValidateTCP() by using a hash table #189

MatiasVara opened this issue Apr 2, 2018 · 1 comment
Labels
feature This label identifies items that need work on. They should go to Backlog.

Comments

@MatiasVara
Copy link
Collaborator

To find the Socket for a given connection, ValidateTCP walk through the whole queue which is a O(n). This may be improved by using a hash table or something like this.

@MatiasVara MatiasVara added the feature This label identifies items that need work on. They should go to Backlog. label Apr 2, 2018
@MatiasVara
Copy link
Collaborator Author

ValidateTCPRequest() must also be improved since it is walking through the whole queue to check if a connection already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This label identifies items that need work on. They should go to Backlog.
Projects
None yet
Development

No branches or pull requests

1 participant