On Tue, Sep 10, 2019 at 9:10 PM Joel Scarfone <[email protected]> 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? > > Joel
EscapableHandleScope is faster. Persistent handles create more work for the garbage collector. (That's the pithy version of a longer response I wrote and then scrapped because of too much details.) -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc8wggRF%2Bdtk1HrHiWUfc39gMT9cUCft4NRu%3DXwz_LwfxQ%40mail.gmail.com.
