Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve efficiency of writing MessageHistory as bytes #851

Open
peter-lawrey opened this issue Mar 14, 2024 · 0 comments
Open

Improve efficiency of writing MessageHistory as bytes #851

peter-lawrey opened this issue Mar 14, 2024 · 0 comments
Assignees

Comments

@peter-lawrey
Copy link
Member

Currently, VanillaMessageHistory uses marshalling code via Bytes; however, it's faster to use raw memory access when direct memory is available.

@peter-lawrey peter-lawrey self-assigned this Mar 14, 2024
peter-lawrey added a commit that referenced this issue Mar 15, 2024
* Improve efficiency of writing as bytes #851

* Improve efficiency of writing as bytes #851
peter-lawrey added a commit that referenced this issue Mar 15, 2024
peter-lawrey added a commit that referenced this issue Apr 12, 2024
…g MessageHistory as bytes #851 (#856)

* Make history.as.bytes true by default to improve efficiency of writing MessageHistory as bytes #851

* Added support for copyTo of Message History in bytes format

* Added support for copyTo of Message History in bytes format

* Added support for copyTo of Message History in bytes format

* Code tidy

* Use a resource pool

* Add a special HISTORY_MESSAGE BacketType instead of reusing UNKNOWN

* Remove commented code

* Deprecate BYTES_MARSHALLABLE

* Added a comment

* Fix merge problem
peter-lawrey added a commit that referenced this issue Apr 12, 2024
…g MessageHistory as bytes #851 (#856)

* Make history.as.bytes true by default to improve efficiency of writing MessageHistory as bytes #851

* Added support for copyTo of Message History in bytes format

* Added support for copyTo of Message History in bytes format

* Added support for copyTo of Message History in bytes format

* Code tidy

* Use a resource pool

* Add a special HISTORY_MESSAGE BacketType instead of reusing UNKNOWN

* Remove commented code

* Deprecate BYTES_MARSHALLABLE

* Added a comment

* Fix merge problem
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

No branches or pull requests

1 participant