Skip to content

Conversation

@bryankeller
Copy link
Contributor

Details

Improve the performance of generating IDs for layout models by switching from UUIDs to auto-incrementing UInt64s.

Before After
Screenshot 2025-12-03 at 1 00 10 PM Screenshot 2025-12-03 at 1 00 55 PM

Motivation and Context

Perf!

How Has This Been Tested

Example app, tests

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@bryankeller bryankeller added the bug Something isn't working label Dec 3, 2025
Copy link
Contributor

@brynbodayle brynbodayle left a comment

Choose a reason for hiding this comment

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

nice

@bryankeller bryankeller merged commit 013e301 into master Dec 3, 2025
1 check passed
@bryankeller bryankeller deleted the bk/improve-id-performance branch December 3, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants