3 ms·
> Reserve memory in a vector, put data in You've already proven that you don't know what I am talking about and now you are doubling down. There is no way to
by jeffbee 3y ago
> Reserve memory in a vector, put data in
You've already proven that you don't know what I am talking about and now you are doubling down. There is no way to put data into a std::vector without copying it. Vector can't adopt memory that already exists. So your plan doesn't suit the use case I am discussing: zero-copy RPC servers.
- CyberDildonics 3y agoFocus up, these are two different things. You said complexity, I said looping through a vector. You said "zero-copy RPC servers" (for some reason) but never gave any evidence of what you are saying or explained it technically in any way. I'll ask again, show me what is being done in java that can't be done in C++. Show me technically, prove what you are saying. I know how these conversations usually go. It's mostly the other person trying anything they can to not give evidence of what they're saying.