You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The set_property method does some variant decoding in the main thread while constructing the final JSON object to return to node. This, in theory, could happen within the worker threads before being handled in the callback, and increase performance.
@mapsam, this change is implemented already in #73: see the properties_vector_materialized member of the ResultObject. It is REQUIRED in the case of #73 because the actual properties are no longer in scope after returning from the threadpool (because the buffer, in the gzip case, is not alive outside the threadpool). See https://github.com/mapbox/vtquery/pull/73/files#diff-d293222b917c4d9edf75c1288538554fR378 for more details.
The
set_property
method does some variant decoding in the main thread while constructing the final JSON object to return to node. This, in theory, could happen within the worker threads before being handled in the callback, and increase performance.vtquery/src/vtquery.cpp
Lines 154 to 160 in 95ab347
cc @springmeyer @flippmoke
The text was updated successfully, but these errors were encountered: