mirror of https://github.com/lukechilds/node.git
Browse Source
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)
Trevor Norris
12 years ago
2 changed files with 23 additions and 1 deletions
Loading…
Reference in new issue