Skip to content

MongoID refactor#773

Merged
Lacyway merged 8 commits into
4.1.x-devfrom
4.1.x-dev-mongoidrefactor
Jun 5, 2026
Merged

MongoID refactor#773
Lacyway merged 8 commits into
4.1.x-devfrom
4.1.x-dev-mongoidrefactor

Conversation

@Lacyway

@Lacyway Lacyway commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Improves MongoID

  • Removed double heap alloc in .ToString()
  • Empty() now returns default
  • Removed redundant char span allocation
  • Pruned ? equality operators
  • Improved tests (all pass, 1,000,000 IDs were generated in 47ms)

Lacyway added 2 commits June 5, 2026 19:33
- Removed double heap alloc in .ToString()
- Empty() now returns default
- Removed redundant char span allocation
- Pruned ? equality operators
- Improved tests (all pass, 1,000,000 IDs were generated in 47ms)

@CJ-SPT CJ-SPT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Lacyway

Lacyway commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

More commits are being added; do not merge

Lacyway added 6 commits June 5, 2026 21:50
- Removed double heap alloc in .ToString()
- Empty() now returns default
- Removed redundant char span allocation
- Pruned ? equality operators
- Improved tests (all pass, 1,000,000 IDs were generated in 47ms)
@Lacyway Lacyway merged commit 6103440 into 4.1.x-dev Jun 5, 2026
2 of 5 checks passed
@Lacyway Lacyway deleted the 4.1.x-dev-mongoidrefactor branch June 5, 2026 22:12
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.

3 participants