Skip to content

Conversation

casperisfine
Copy link

Nothing major, mostly use more direct APIs to bypass safety checks that we can assert aren't needed.

e.g. OBJ_FROZEN_RAW doesn't bother checking if the VALUE is an immediate, which we know it isn't because we know it's a T_STRING.

Or ENCODING_GET_INLINED doesn't check if we're dealing with an extended encoding, which in our case we don't need to know.

Nothing major, mostly use more direct APIs to bypass safety checks
that we can assert aren't needed.

e.g. `OBJ_FROZEN_RAW` doesn't bother checking if the VALUE is an
immediate, which we know it isn't because we know it's a T_STRING.

Or `ENCODING_GET_INLINED` doesn't check if we're dealing with an
extended encoding, which in our case we don't need to know.
@casperisfine
Copy link
Author

Hum, TruffleRuby crashed, I can't make much sense of the crash report though. (FYI @eregon)

@casperisfine
Copy link
Author

Alright, it passed on the retry, so I'm gonna assume it's unrelated. Logs are here: https://github.com/msgpack/msgpack-ruby/actions/runs/11837028381/job/32983173005

@byroot byroot merged commit a8fe3e4 into msgpack:master Nov 14, 2024
18 checks passed
@casperisfine casperisfine deleted the micro-opt branch November 14, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants