Skip to content

Performance issue in TLS: assert that each written chunk of a data is not a str #12011

@itamarst

Description

@itamarst

This check is in the hot path, and can slow down writing when there are lots of small writes:

if isinstance(bytes, str):

Fixing it will be done as followup to #11989

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions