Skip to content

ensure_ascii=False could do with a C implementation #207

Description

@richvdh

It's a real shame that there's no C implementation of encode_basestring - so the ensure_ascii=False codepath is so slow.

I don't really have enough context to fully understand it, but it looks to me like encode_basestring ought to be simpler to implement in C than py_encode_basestring_ascii, which of course already has a C implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions