Skip to content

Escaping? #151

Description

@blckngm

Activity

  1. mxinden commented on Jun 9, 2023

    @mxinden
    Member

    Good point @blckngm. Thanks for reporting. Yes.

    I wonder whether we should actively escape them or simply panic (in debug mode!) when they are not escaped. Preference for the latter.

    Do you want to provide a patch @blckngm?

  2. blckngm commented on Jun 10, 2023

    @blckngm
    Author

    Escaping them on encoding, writing one character at a time, shouldn't have much performance penalty as long as the writer is buffered.

  3. mxinden commented on Jul 10, 2023

    @mxinden
    Member

    Fine with escaping one character at a time as long as we have an accompanying benchmark that proves that this is not a performance bottleneck.

  4. krisztianfekete commented on Sep 23, 2026

    @krisztianfekete
    Collaborator

    Closing this and merging it with #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions