-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compress Model XML, Stage 3: assign [MetatdataExtension].Value = null
to get rid of Uncompressed XML
#333
Conversation
Extension.Value = null
Extension.Value = null
Extension.Value = null
Extension.Value = null
Extension.Value = null
[MetatdataExtension].Value = null
[MetatdataExtension].Value = null
[MetatdataExtension].Value = null
to get rid of Uncompressed XML
switch (data[0]) { | ||
case 0: | ||
xml = Encoding.UTF8.GetString(data, 1, data.Length - 1); | ||
break; | ||
return Serializer.Deserialize(Encoding.UTF8.GetString(data, 1, data.Length - 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can deserialize here from stream as well? To get rid of intermediate string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code will not be active anyway.
0-method means "Non-compressed", not used.
Also:
SimpleXmlSerializer.SerializeIntoStream()/.DeserializeFromStream()
methods for optimal XML processingWe will apply this PR starting
73.1quasar