Skip to content

Conversation

@kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 30, 2025

Description:

@codspeed-hq
Copy link

codspeed-hq bot commented Jun 30, 2025

CodSpeed Performance Report

Merging #10734 will not alter performance

Comparing kdy1/unicode (8bad4cf) with main (38132e0)

Summary

✅ 140 untouched benchmarks

op(self, &mut buf)
}

fn read_unicode_escape(&mut self) -> LexResult<Vec<Char>> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @bvanjoi Do you think this change is correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly, this implementation appears incorrect. For read_unicode_escape('\u0041'), we expect the raw character sequence ['\\', 'u', '0', '0', '4', '1'] as output, not the decoded 'A' directly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I think you are right

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

Labels

None yet

3 participants