Skip to content

hyb: precompute kernel evals#5

Merged
HugoStrand merged 2 commits into
block_sparsefrom
dev_bs_k_it_evals
Apr 24, 2026
Merged

hyb: precompute kernel evals#5
HugoStrand merged 2 commits into
block_sparsefrom
dev_bs_k_it_evals

Conversation

@paco-ri

@paco-ri paco-ri commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

This branch reduces the number of calls to cppdlr::k_it by storing precomputations in the Hybridization class.

@HugoStrand

Copy link
Copy Markdown
Member

Hey @paco-ri !

Thank you for the pull request. I've done some minor cleaning, see d5fb3b0.

For class constructors it is preferred to push allocation to the initalizer list (see https://en.cppreference.com/cpp/language/constructor) for details. This avoids one default constructor call for the class member objects, i.e. the kernel value buffers in this case.

Cheers, Hugo

@HugoStrand
HugoStrand merged commit e37368c into block_sparse Apr 24, 2026
3 of 4 checks passed
@HugoStrand
HugoStrand deleted the dev_bs_k_it_evals branch May 19, 2026 09:54
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.

2 participants