Skip to content

Port code to use ext-encoding#244

Open
dktapps wants to merge 11 commits into
stablefrom
ext-encoding
Open

Port code to use ext-encoding#244
dktapps wants to merge 11 commits into
stablefrom
ext-encoding

Conversation

@dktapps

@dktapps dktapps commented Sep 7, 2025

Copy link
Copy Markdown
Member

this is a test run to see what it's like to work with the new API.

So far, it seems to be OK, although I keep forgetting the parameters for the static methods, which is annoying. Instinctively I'm reaching for instance methods, and I have to keep reminding myself why I chose to implement the new API this way instead of using instance methods (it's because this design is more resistant to mistakes).

Haven't tested this yet. Fine to ignore the test errors (it's just because the extension isn't present).

this is a test run to see what it's like to work with the new API.

So far, it seems to be OK, although I keep forgetting the parameters for the static methods, which is annoying.
Instinctively I'm reaching for instance methods, and I have to keep reminding myself why I chose to implement
the new API this way instead of using instance methods (it's because this design is more resistant to mistakes).
@dktapps dktapps requested a review from a team as a code owner September 7, 2025 02:09
@kostamax27

Copy link
Copy Markdown

Is this completed?

@ismaileke

Copy link
Copy Markdown

Is this completed?

im curious too

@dktapps

dktapps commented Jan 2, 2026

Copy link
Copy Markdown
Member Author

It seemed fine during integration testing, but I haven't touched it for a while. Will probably integrate it with the PM 5.40 release if all goes well.

The rollout plan was to get BedrockProtocol live with it first so that if any weird problems showed up with ext-encoding, they'd be relatively easy to debug. That actually went much better than I expected, seems basically no one even noticed the change aside from a jump in performance, although that also led to me forgetting about it. So it's looking good for migrating other components too.

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants