substack/js-traverse — pull request #14 by Marsup (2011-11-07 10:41:32+00:00)
Title: Add buffers handling

Hello substack,

I'm not entirely sure this will interest you, but I think it's a good default to process buffers differently in a NodeJS environment.
It makes a huge difference in traversing objects that contains large buffers that you don't want to traverse. It takes about 6-10s more on a buffer from a 14MB file, mainly because of Object.keys.
You may want to make it optional though.

Regards.