Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flyweight iterator and enhance test #2105

Merged
merged 1 commit into from
Oct 17, 2021

Conversation

quentin
Copy link
Member

@quentin quentin commented Oct 16, 2021

Fix Flyweight iterator sometimes returning the empty element.
Enhance test to use a 8-lanes containers, use rand() instead of random() and per-thread random seed.

@codecov
Copy link

codecov bot commented Oct 16, 2021

Codecov Report

Merging #2105 (3d4bbcc) into master (c14ef02) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2105      +/-   ##
==========================================
+ Coverage   76.28%   76.29%   +0.01%     
==========================================
  Files         447      447              
  Lines       26286    26286              
==========================================
+ Hits        20051    20056       +5     
+ Misses       6235     6230       -5     
Impacted Files Coverage Δ
...nclude/souffle/datastructure/ConcurrentFlyweight.h 85.71% <ø> (ø)
src/include/souffle/utility/ParallelUtil.h 83.96% <ø> (-1.53%) ⬇️
...ouffle/datastructure/ConcurrentInsertOnlyHashMap.h 88.18% <0.00%> (-2.73%) ⬇️
src/include/souffle/datastructure/BTree.h 96.85% <0.00%> (-0.40%) ⬇️
src/include/souffle/datastructure/UnionFind.h 100.00% <0.00%> (+2.19%) ⬆️
src/include/souffle/datastructure/LambdaBTree.h 83.20% <0.00%> (+7.63%) ⬆️

@XiaowenHu96 XiaowenHu96 merged commit 6c7cd09 into souffle-lang:master Oct 17, 2021
@quentin quentin deleted the fixiterator branch January 6, 2022 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants