RedisGraph / JRedisGraph

Java API for RedisGraph
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
59 stars 20 forks source link

Optimize Entities capacity to avoid reallocation #145

Closed sazzad16 closed 2 years ago

sazzad16 commented 2 years ago

Ported from:- PR: https://github.com/redis/jedis/pull/3090 Commit: https://github.com/redis/jedis/commit/9f248fedcb19802a1979d106a069dc6dad3af4ba

codecov[bot] commented 2 years ago

Codecov Report

Merging #145 (54bf749) into master (81302a1) will increase coverage by 0.52%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
+ Coverage     70.84%   71.36%   +0.52%     
- Complexity      210      213       +3     
============================================
  Files            25       25              
  Lines           710      723      +13     
  Branches         65       65              
============================================
+ Hits            503      516      +13     
  Misses          175      175              
  Partials         32       32              
Impacted Files Coverage Δ
.../com/redislabs/redisgraph/graph_entities/Edge.java 75.00% <100.00%> (+3.00%) :arrow_up:
...dislabs/redisgraph/graph_entities/GraphEntity.java 70.83% <100.00%> (+5.83%) :arrow_up:
.../com/redislabs/redisgraph/graph_entities/Node.java 83.33% <100.00%> (+3.33%) :arrow_up:
...slabs/redisgraph/impl/resultset/ResultSetImpl.java 78.22% <100.00%> (+0.35%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.