Merge branch 'TINKERPOP-1896' into tp32
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1ea01ad2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1ea01ad2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1ea01ad2 Branch: refs/heads/TINKERPOP-1656 Commit: 1ea01ad2e0748d400cc89d92d2dbfe07dd2cb6be Parents: 5cf1cba 01ef6c1 Author: Stephen Mallette <sp...@genoprime.com> Authored: Wed Mar 14 07:58:22 2018 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Wed Mar 14 07:58:22 2018 -0400 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 1 + .../jsr223/GremlinJythonScriptEngine.java | 7 +-- .../gremlin/python/jsr223/JythonTranslator.java | 28 +++++++++ .../gremlin/python/jsr223/PythonTranslator.java | 33 ++++++---- .../python/jsr223/JythonTranslatorTest.java | 63 ++++++++++++-------- 5 files changed, 88 insertions(+), 44 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1ea01ad2/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --cc CHANGELOG.asciidoc index 97b90a5,a761003..94ee24f --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@@ -30,8 -29,8 +30,9 @@@ image::https://raw.githubusercontent.co * Added the "Kitchen Sink" test data set. * Fixed deserialization of `P.not()` for GraphSON. * Bumped to Jackson 2.9.4. +* Improved performance of `JavaTranslator` by caching reflected methods required for traversal construction. * Added `idleConnectionTimeout` and `keepAliveInterval` to Gremlin Server that enables a "ping" and auto-close for seemingly dead clients. + * Fixed a bug where lambdas in `gremlin-python` would trigger a failure if steps using python-only symbols were present (such as `as_()`). * Fixed a bug in `NumberHelper` that led to wrong min/max results if numbers exceeded the Integer limits. * Delayed setting of the request identifier until `RequestMessage` construction by the builder. * Improved error messaging for failed serialization and deserialization of request/response messages.