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

Implement support for KV1 binary serialization with string tables #100

Merged
merged 8 commits into from
Jul 3, 2024

Conversation

yaakov-h
Copy link
Member

@yaakov-h yaakov-h commented Jul 2, 2024

This is a bit of a different approach to #99.

{
if (reverse is not null)
{
return;
Copy link
Member

Choose a reason for hiding this comment

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

Is this gonna cause issues if you serialize, change the kv and try to serialize again?

Actually not seeing a way for stringtable to be populated by the seializer.

Copy link
Member Author

Choose a reason for hiding this comment

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

oh that's an interesting idea, should we dynamically populate a string table?

Copy link
Member

Choose a reason for hiding this comment

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

If we want to support serialization, we kind of have to.

Copy link
Member

Choose a reason for hiding this comment

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

We also need a public accessor to the list if that happens, because you need to store it somehow

ValveKeyValue/ValveKeyValue/StringTable.cs Outdated Show resolved Hide resolved
Copy link
Member

@xPaw xPaw left a comment

Choose a reason for hiding this comment

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

Seems fine.

@xPaw
Copy link
Member

xPaw commented Jul 2, 2024

Apisurface does not seem to dump constructors?

Copy link
Member

@xPaw xPaw left a comment

Choose a reason for hiding this comment

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

Lets release this, can always improve further later.

@yaakov-h yaakov-h merged commit 36bd1d2 into master Jul 3, 2024
6 checks passed
@yaakov-h yaakov-h deleted the yaakov/stringtable branch July 3, 2024 12:18
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.

2 participants