HighDimensionalEconLab / DifferentiableStateSpaceModels.jl

MIT License
46 stars 1 forks source link

some optimizations on first-order #81

Closed wupeifan closed 2 years ago

wupeifan commented 2 years ago

might not be the bottleneck, but why not.

2fc52bec6756e54030c759d9c40f9521358603c3 leads to a 20% improvement in first-order derivatives.

codecov[bot] commented 2 years ago

Codecov Report

Merging #81 (fcd23f5) into main (a02c907) will decrease coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   79.50%   79.48%   -0.02%     
==========================================
  Files          12       12              
  Lines        1132     1131       -1     
==========================================
- Hits          900      899       -1     
  Misses        232      232              
Impacted Files Coverage Δ
src/types.jl 91.89% <ø> (ø)
src/generate_perturbation.jl 87.80% <100.00%> (ø)
src/generate_perturbation_derivatives.jl 91.72% <100.00%> (-0.03%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a02c907...fcd23f5. Read the comment docs.