3 ms·
The trick is more commonly used when writing to sockets. A socket owner is required for reading, not for writing. The trick then is that when you need to write
by mononcqc 9y ago
The trick is more commonly used when writing to sockets. A socket owner is required for reading, not for writing.
The trick then is that when you need to write lots of data to a socket to just send a copy of it to the writer so they can dump all their data for cheap, but without changing ownership (which is costly).
Also recently I've gotten http://propertesting.com/ http://propertesting.com/ out, you might enjoy it :)
- rdtsc 9y agoThanks for explaining. I'll have to remember the socket trick. > Also recently I've gotten http://propertesting.com/ http://propertesting.com/ out, you might enjoy it :) It might be just what I need to understand and start using property tests. I've tried twice and gave up. Oh and recon! Thanks for that too. Use it almost every day.