ros2-java / ros2_java

Java and Android bindings for ROS2
Apache License 2.0
167 stars 92 forks source link

Avoid unnecessary string copies #171

Closed jacobperron closed 3 years ago

jacobperron commented 3 years ago

We can use the C strings returned GetStringUTFChars directly, instead of copying to an intermediate std::string.

jacobperron commented 3 years ago

I've rebased to try and resolve CI errors.