neo4j / apoc

Apache License 2.0
84 stars 27 forks source link

[f3ZUxEG2] Fix bugs and refactor apoc.cypher.runMany #578

Closed loveleif closed 7 months ago

loveleif commented 7 months ago

Fixes two issues in apoc.cypher.runMany:

For simplicity, the implementation is changed to be single threaded. We previously spawned a second thread for executing inner queries. While this could have performance benefits in some situations, there is also an overhead of starting and synchronizing threads. We currently have no benchmarks for this procedure so there's not much to base this decision on either way.

Some undocumented behavior is kept from previous implementation: