Skip to content

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

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

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

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