Comments (2)
We need to be careful with comparisons here.
If you think about stream operations, they don't copy the whole message (or any part of it). It's the responsibility of the caller to not modify that memory.
Microsoft.Data.SqlClient allows some columns to be read as Stream
. (see SqlDataReader.GetStream(Int32) Method). No way to write parameter values as Stream
, though.
But both SqlDataReader
and SqlParameter
can work with SqlBytes
that provide direct access to different byte sources/destinations.
APIs are becoming more mindful of memory usage and taking advantage of the new types introduced to avoid memory allocation and copying.
If other libraries are not doing the same, maybe they should.
from rabbitmq-dotnet-client.
Related Issues (20)
- Should IModelExensions be named IModelExtensions (with a "t")? HOT 1
- When using assembly binding redirect a connection error is shown HOT 4
- Move Interfaces in Separate Package
- Only throw `RabbitMQ.Client`-specific exceptions. HOT 4
- Do not create exceptions just for logging HOT 2
- Port #1438 to main
- 7.0: Stack overflow "ExchangeDeclareAsync" HOT 2
- Consider re-trying opening connections in a specific scenario HOT 3
- IModel not present in 7.0.0-alpha2
- 7.0.0-alpha.2 - Unexpected Exception: Unable to read data from the transport connection: Connection reset by peer HOT 23
- Remove sync API HOT 1
- Authentication failed because the remote party sent a TLS alert: 'InsuffientSecurity'
- declaring queue exclusive disables durable HOT 3
- Add OpenTelemetry examples and docs
- Add net 6.0 so that conditional packages can be defined HOT 4
- Optimise dependencies needed for v7 release HOT 2
- Async API - socket read timeout has no effect HOT 7
- HandleMainLoopException puts exception StackTrace in the EventSource Message HOT 1
- add suport for wasm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-dotnet-client.