buffer: propagate originating parent
When creating a slice, make sure to propagate the originating parent. This is to prevent a buf.parent.parent.(etc) scenario. Also speed up the constructor by preventing lookup of non-existant properties by setting them beforehand in the prototype. (see https://github.com/joyent/node/commit/7ce5a31#commitcomment-3332779)
parent
2fc34d75
Please register or sign in to comment