perf(allocations): reduced overall allocations by 95%, increaseed jacobian applicatin by 2x

This commit uses global pre allocated work space to dramatically reduce memory usage and allocation time
This commit is contained in:
2026-09-10 06:50:56 -04:00
parent b3c04d507a
commit 75cc638739
66 changed files with 207183 additions and 99552 deletions

View File

@@ -12,6 +12,10 @@ export namespace mean_field::mapping::compactification {
public:
explicit KelvinCompactification(options::KelvinCompactificationOptions options);
[[nodiscard]] bool IsAffineInDisplacement() const noexcept override {
return true;
}
[[nodiscard]] MappingStatus Evaluate(
const ExteriorMapInput &input,
ExteriorMapResult &result
@@ -45,4 +49,4 @@ export namespace mean_field::mapping::compactification {
options::KelvinCompactificationOptions m_options;
};
} // namespace mean_field::mapping::compactification
} // namespace mean_field::mapping::compactification