free() for an allocated Buffer?

0 views
Skip to first unread message

Bryan Berry

unread,
May 3, 2010, 8:33:14 AM5/3/10
to nodejs
What is the best way to delete an allocated buffer?

node> var buf = new Buffer(1234);
node> delete buf

delete seems to reduce the size of the Heap Used but there is speculation that it also puts v8 into the "slow case"

tks
Reply all
Reply to author
Forward
0 new messages