Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nikdoof/python-ts3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: hexgu/python-ts3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Feb 17, 2026

  1. feat(perf): optimize TS3Proto._unescape_str and fix correctness bug

    Optimized `TS3Proto._unescape_str` by:
    - Adding a fast path check (`if '\\' not in value`) which improves performance by ~4.6x for the common case (strings without escapes).
    - Replacing sequential `str.replace` calls with a single-pass `re.sub`. This fixes a correctness bug where escaped sequences were double-processed (e.g. `\\s` -> `\s` -> ` ` instead of `\s`).
    
    Also fixed a bug in `check_connection` where it checked method truthiness instead of calling the method, and updated `ts3/test.py` to correctly test this and include regression tests for unescaping.
    
    Co-authored-by: hexgu <[email protected]>
    google-labs-jules[bot] and hexgu committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    de459c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Merge pull request #1 from hexgu/bolt/optimize-unescape-1393629199884…

    …4685580
    
    ⚡ Bolt: Optimize unescape performance and correctness
    hexgu authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    d59d325 View commit details
    Browse the repository at this point in the history
Loading