Skip to content

Lazy document now uses source serializer and has async overloads #3872

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

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

Mpdreamz
Copy link
Member

This normalizes LazyDocument a bit and makes it flow through the source serializer rather than sidestepping it through a formatter (a path source serializer will also take).

Also added async overloads to ILazyDocument, since its currently backed a byte[] not immediately needed but good to have as part of the interface in7.x going forward.

This also updates RecyclableStreamFactory to simply return MemoryStream(bytes) rather then going through the hoops in RecyclableStream(bytes) which ends up doing a copy which seems unnecessary.

@Mpdreamz Mpdreamz merged commit 4cd5a0b into 7.x Jun 26, 2019
@Mpdreamz Mpdreamz deleted the fix/7.x/lazy-doc branch June 26, 2019 11:29
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