Skip to content

Conversation

@tarasko
Copy link
Contributor

@tarasko tarasko commented Jan 28, 2026

  • Use list to implement write backlog queue in SSLProtocol. Comparing to collections.Deque, which is an opaque type for cython, list is transparent for cython. Cython offers a lot of optimizations for list type.
  • SSLProtocol._do_write do not popfront on every iteration. Instead everything that was sent is deleted in one go in the end
  • Make SSL write and writelines consistent with regards to user data type checking
  • Consistently use Py_ssize_t instead of size_t/ssize_t/int to avoid implicit conversions. Py_ssize_t is what python PyList_SIZE and others return
  • Remove extra tuple creation and unpacking in write
  • Fix warning: uvloop/handles/pipe.pyx:159:4: Overriding a c(p)def method with a def method.

@tarasko tarasko closed this Jan 29, 2026
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

Successfully merging this pull request may close these issues.

1 participant