DESCRIPTION

Remove slice before bytebuf copy

It is not necessary for the copy and reduces object allocation in TLAB
by almost 25%.

There are 34K objects in a 10 min 1000 limit travel sample run compared
to 43K objects in TLAB.

Change-Id: I0ad4cb6da83a63e3493165449a97f3250588f752
Reviewed-on: http://review.couchbase.org/83104
Tested-by: Hugo Blankenship xxx@xxx.xxx
Reviewed-by: Cory Peck xxx@xxx.xxx


COMMENTS

author: Marques Ellis
date: 2017-09-05 17:34:41.759000000

Change has been successfully cherry-picked as 0cdf8a0ce33ffa325fbbb880b76c0310b332dbdf by Marques Ellis

-------------------------------------
