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

SocketAsyncEventArgs should be returned to pool per call #8

Open
loudej opened this issue Feb 19, 2012 · 1 comment
Open

SocketAsyncEventArgs should be returned to pool per call #8

loudej opened this issue Feb 19, 2012 · 1 comment

Comments

@loudej
Copy link
Contributor

loudej commented Feb 19, 2012

Could use less memory if you don't have 2 of those overlapped managers allocated per active connection... They only need to be taken from pool for the duration of an async call. Essentially the same places where the Completed delegate is assigned would be where you would acquire and free the object.

@loudej
Copy link
Contributor Author

loudej commented Feb 19, 2012

Before this is done - of course - the memory pool should actually pool these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant