Hi,
I'm working on a project where in my C++ native app I'm going to be passing over a vector<double> with roughly ~10,000 to ~20,0000 doubles in it to my Javascript layer, which in turns expects a Javascript array. I see two options now to get that data over there - convert that vector to a string and just simply call ExecuteJavascript() (and then JSON.Parse() it) or use CefV8Value::CreateArray and then populate the array with CefV8Value::CreateDouble for each double in the vector and then use SetValue() to set it to the window object. My questions are 1) is there any other (better) way to get this data to the JS side and 2) if not is there any real performance benefit from using the native JS types that CEF provides over just pumping big strings in via ExecuteJavascript()?
Thanks!