Skip to content

Conversation

@JKamsker
Copy link
Collaborator

@JKamsker JKamsker commented Oct 1, 2025

Summary

  • replace ObjectId hex parsing with span-based implementations, using Convert.FromHexString on .NET 8 and a manual span loop on netstandard
  • rewrite ObjectId.ToString() to fill stack-allocated buffers and format via Convert.ToHexString/custom writer without BitConverter
  • add allocation-focused unit tests to validate the lower-allocation parsing/formatting paths

Testing

  • dotnet test LiteDB.Tests -f net8.0

https://chatgpt.com/codex/tasks/task_e_68cfd6f3a49c832ab81f09ca090f5eee

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.

2 participants