diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-02-18 23:52:34 -0800 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-20 20:34:34 +0100 |
commit | d69a26b9650df7dc1f210c3c59df74ec4245dff3 (patch) | |
tree | 0c0594584e5a09143d9d37a28f3355b1efad5d2f /deps/uv/src/win/winsock.c | |
parent | 053e02ef8e49a0a56dbae5b3e08ad9f09ae977b6 (diff) | |
download | node-new-d69a26b9650df7dc1f210c3c59df74ec4245dff3.tar.gz |
buffer: check logic simplification
Checks have been simplified and optimized for most-used cases.
Calling Buffer with another Buffer as the subject will now use the
SlowBuffer Copy method instead of the for loop.
No need to call for value coercion, just place the ternary inline.
Diffstat (limited to 'deps/uv/src/win/winsock.c')
0 files changed, 0 insertions, 0 deletions