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

refactor(core): rewrite grid building routines #241

Merged
merged 8 commits into from
Dec 3, 2024
Merged

Conversation

imrn99
Copy link
Collaborator

@imrn99 imrn99 commented Nov 29, 2024

Description

Scope: core

Type of change: refactor of internals

Content description:

The new routines compute separately the value of the beta functions and manually store them for each dart (instead of using sews and links). Vertices are added after beta functions are fully defined.

There is a slight improvement in performance (5-10%), but this is not the interesting change. With the new routines, there won't be any conflict between transactions when parallelized. every write operation is containerized, and does not affect data read by another transaction.

@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.87%. Comparing base (a924645) to head (794039a).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #241      +/-   ##
==========================================
- Coverage   79.21%   78.87%   -0.35%     
==========================================
  Files          52       52              
  Lines        6953     6779     -174     
==========================================
- Hits         5508     5347     -161     
+ Misses       1445     1432      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@imrn99
Copy link
Collaborator Author

imrn99 commented Nov 29, 2024

CI fails due to new Rust version, I'll fix it in another PR

Copy link
Member

@cedricchevalier19 cedricchevalier19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you can add a comment or a link to the documentation about how the ordering works.

@imrn99 imrn99 merged commit ef6e121 into master Dec 3, 2024
12 of 13 checks passed
@imrn99 imrn99 deleted the better-builder branch December 3, 2024 11:03
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.

3 participants