On May 15, 7:13 pm, billywhizz <apjohn...@gmail.com> wrote:
> the read methods are looking at the same memory. they just index into a v8
> array that is wrapped around the raw memory buffer for convenience and
> speed of access. having said that, there are a lot of asserts and checks in
> the read* methods so i'd imagine they introduce quite a lot of overhead. as
> for using less memory, i don't see how using the read* methods will make
> any difference to memory usage.

You can skip the assertions by passing `true` as the second argument
to the read* methods.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to