YohanSciubukgian / CosmosDbConnector

MIT License
0 stars 0 forks source link

Stream APIs? #2

Open j82w opened 4 years ago

j82w commented 4 years ago

If you never plan on using the responses the stream APIs do get better performance by avoiding parsing and serialization when it is not necessary. https://github.com/YohanSciubukgian/CosmosDbConnector/blob/f5fe891e13112a2e1663d6773d242efdd0749b9c/src/Facade.CosmosDbSql/Connectors/AzureCosmosDbV3/AzureCosmosDbV3Connector.cs#L81

YohanSciubukgian commented 4 years ago

Thanks for your feedbacks.

You are right, I'm not using responses except for getting their status. I have created a pull request for this issue. Let me know if it fits your recommendation.