It's more for the novelty than performance. If I'm hearing your right I
should keep the type of priority queue a coercable type from val so I can
use operators? I will give this a shot thanks.
On Monday, March 5, 2018 at 4:18:57 PM UTC-8, Charles Vaughn wrote:
>
> So first of all, I'd say you're
So first of all, I'd say you're not going to want to use val for anything
remotely performance sensitive. There's a lot of overhead marshalling
values back and forth.
Directly to your point, val can represent any javascript value, including
those for which comparator operators don't make sense.
I was pointed here by an old documentation writer for emscripten so I hope
this is the right forum!
While creating a priority queue with emscripten::val's. I'm running into
trouble when I insert elements.
Error
c:\Emscripten\emscripten\1.37.9\system\include\libcxx\__functional_base:61:21:
e