Skip to content

Performance: Optimize cross boundary call for codec.decode() error replace calls #156745

Description

@brittanyrey

This is very similar to #156537. It removes the overhead of a cross boundary call per each char write. This change applies the same fix to a second call site in Modules/cjkcodecs/multibytecodec.c.

PR is already prepared.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirperformancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions