Re: [v8-users] Performance and Resource impacts of using Persistent vs. Local

2019-09-10 Thread Joel Scarfone
Dang, I was kind-of hoping for the long version :). I would assume it wouldn't actually be any more memory intensive, but rather then it comes down to speed? So I did a quick test. If you are interested in the full source, I can provide it, however for simplicity I will just provide snippets. I

Re: [v8-users] Performance and Resource impacts of using Persistent vs. Local

2019-09-10 Thread Ben Noordhuis
On Tue, Sep 10, 2019 at 9:10 PM Joel Scarfone wrote: > > What is the difference between using an `EscapableHandleScope` to propagate a > `Value` and just creating a `Persistent` from the local I intent to return > from a function? Is one more performant than the other, or is it just > usability

[v8-users] Performance and Resource impacts of using Persistent vs. Local

2019-09-10 Thread Joel Scarfone
What is the difference between using an `EscapableHandleScope` to propagate a `Value` and just creating a `Persistent` from the local I intent to return from a function? Is one more performant than the other, or is it just usability? Joel -- -- v8-users mailing list v8-users@googlegroups.com