Open marcomagdy opened 8 months ago
Description of changes:
Starting with aws-lambda-cpp v0.2.7 we can move the payload from the outcome of the API. This should help performance especially for larger payloads.
A couple more small optimizations:
NAPI::String::New
.empty()
Target (OCI, Managed Runtime, both):
both
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Ping @andclt @carlzogh please take a look.
Description of changes:
Starting with aws-lambda-cpp v0.2.7 we can move the payload from the outcome of the API. This should help performance especially for larger payloads.
A couple more small optimizations:
NAPI::String::New
rather than its C-string representation is faster..empty()
is much faster than comparing to a literal empty string.Target (OCI, Managed Runtime, both):
both
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.