You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ke...@apache.org on 2023/04/21 23:13:01 UTC
[tinkerpop] 01/01: Merge pull request #2033
This is an automated email from the ASF dual-hosted git repository.
kenhuuu pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit ad09d1de84dff91969a819c229e52e04621a68db
Merge: 30cb6f4c5d 1e65523d4f
Author: kenhuuu <10...@users.noreply.github.com>
AuthorDate: Fri Apr 21 16:12:55 2023 -0700
Merge pull request #2033
TINKERPOP-2893 Remove CountStrategy optimizations for predicates with negative numbers
CHANGELOG.asciidoc | 1 +
.../strategy/optimization/CountStrategy.java | 15 ++++++++++-
.../strategy/optimization/CountStrategyTest.java | 31 ++++++++++++++++++++++
3 files changed, 46 insertions(+), 1 deletion(-)
diff --cc CHANGELOG.asciidoc
index 3ae5006fc6,3259af2e98..5348a5c29f
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@@ -36,15 -36,11 +36,16 @@@ image::https://raw.githubusercontent.co
* Bumped to Groovy 2.5.21.
* Fixed bug in parsing of `math()` expressions where variables were not being identified if they contained a text associated with a function.
* Refactored `FilterRankingStrategy` to improve performance for deeply nested traversals.
+* Refactored strategy application to improve performance by avoiding some excessive recursion.
+* Added `Traversal.lock()` to provide an explicit way to finalize a traversal object.
+* Changed `Traversal.getGraph()` to get its `Graph` object from itself or, if not available, its parent.
* Added `AuthInfoProvider` interface and `NewDynamicAuth()` to gremlin-go for dynamic authentication support.
+* Fixed bug where `hasId()` unrolls ids in Java arrays to put into `P.within` but not ids in lists, this also aligned behavior of start-step and mid-traversal hasId().
* Bumped to `snakeyaml` 2.0 to fix security vulnerability.
* Bumped to Apache `commons-configuration` 2.9.0 to fix security vulnerability.
+ * Fixed `CountStrategy` bug for cases where predicates contain negative numbers by disabling the optimization.
* Improved `count` step optimization for negative values in input for 'eq' comparison.
+* Fixed performance issue when using `SampleGlobalStep` with a traverser that has either a `LABELED_PATH` or `PATH` requirement.
[[release-3-5-5]]
=== TinkerPop 3.5.5 (Release Date: January 16, 2023)