镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Replace category/name split with a single identifier (and save on some adhoc allocations hopefully) - #3684

Open
badboy wants to merge 1 commit into
sqlite-benchmarkingfrom
less-formatting-for-sqlite-too/ywmlnsvvyymx
Open

badboy wants to merge 1 commit into
sqlite-benchmarkingfrom
less-formatting-for-sqlite-too/ywmlnsvvyymx

Conversation

@badboy

@badboy badboy commented Oct 13, 2026

Copy link
Copy Markdown
Member

This is replacing the category/name split everywhere with just a single identifier.
This is a MAJOR BREAKING CHANGE and will require glean_parser changes as well.

I argue this is very useful:

  • We never need the category/name split in code really
  • We save on small allocations
  • We generate less calls (all those String and .into() calls in generated templates)
  • Even Kotlin/Swift will save on this

@badboy
badboy added this pull request to stack #3685 October 13, 2026 09:24
@badboy

badboy commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

parser: mozilla/glean_parser#864

@badboy badboy added the perf label Oct 20, 2026
@badboy
badboy force-pushed the less-formatting-for-sqlite-too/ywmlnsvvyymx branch from 4142f14 to 3bf824d Compare October 20, 2026 10:01
@badboy
badboy force-pushed the less-formatting-for-sqlite-too/ywmlnsvvyymx branch from 3bf824d to e6734a6 Compare October 20, 2026 10:49
@badboy
badboy force-pushed the less-formatting-for-sqlite-too/ywmlnsvvyymx branch from e6734a6 to e0b60a6 Compare October 20, 2026 11:11
@badboy
badboy force-pushed the less-formatting-for-sqlite-too/ywmlnsvvyymx branch from e0b60a6 to 996206b Compare October 22, 2026 15:27
@badboy
badboy marked this pull request as ready for review October 22, 2026 15:27
@badboy
badboy requested a review from a team as a code owner October 22, 2026 15:27
@badboy
badboy requested review from jeddai and removed request for a team October 22, 2026 15:27

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant