google / jni-bind

JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add "Performance Mode"

jwhpryor opened this issue · comments

Provide library wide constexpr flags to enable high performance API options.

For example, currently local objects will explicitly release themselves which is required for tests to guarantee their correctness. It also prevents memory leaks (e.g. if a local object was created in a tight loop). This should be configurable.