Skip to content

Refactoring for performance and memory usage: - #43

Merged
andreacasalino merged 1 commit into
masterfrom
RefactoringForPerformance
Sep 13, 2026
Merged

andreacasalino merged 1 commit into
masterfrom
RefactoringForPerformance

Conversation

@andreacasalino

Copy link
Copy Markdown
Owner

Refactoring for performance and memory usage:

  • ModelBuilder to assemble the model step by step
  • Once the model is built, it is frozen and the created structure is moved into an object pool for promoting locality and reducing cache misses
  • Modernization of the codebase to C++ 20 standards
  • Refactor of Factor in order to get as much as possible advantage of compile time contracts
  • Chaging size_t to std::uint16_t for var state sizes
  • General clean up

- ModelBuilder to assemble the model step by step
- Once the model is built, it is frozen and the created structure is moved into an object pool for promoting locality and reducing cache misses
- Modernization of the codebase to C++ 20 standards
- Refactor of Factor in order to get as much as possible advantage of compile time contracts
- Chaging size_t to std::uint16_t for var state sizes
- General clean up
@andreacasalino
andreacasalino force-pushed the RefactoringForPerformance branch from 6689964 to 7e96fba Compare September 13, 2026 00:52
@andreacasalino
andreacasalino merged commit 87a8e81 into master Sep 13, 2026
1 of 3 checks passed
@andreacasalino
andreacasalino deleted the RefactoringForPerformance branch September 13, 2026 00:55
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.

1 participant