Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Improve combinedargs and valid_didargs #3

Merged
merged 5 commits into from
Mar 1, 2021
Merged

Improve combinedargs and valid_didargs #3

merged 5 commits into from
Mar 1, 2021

Conversation

junyuan-chen
Copy link
Member

The original implementation of combinedargs triggers recompilation whenever the number of StatsSpecs changes. Such recompilation has been avoided now.

valid_didargs now accepts a Dict and generates a NamedTuple with specified fields in a fixed order.

@junyuan-chen junyuan-chen added the performance Enhancement of performance label Mar 1, 2021
@codecov
Copy link

codecov bot commented Mar 1, 2021

Codecov Report

Merging #3 (23db06f) into master (0f6d543) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          208       211    +3     
=========================================
+ Hits           208       211    +3     
Impacted Files Coverage Δ
src/InteractionWeightedDIDs.jl 100.00% <ø> (ø)
src/did.jl 100.00% <100.00%> (ø)
src/procedures.jl 100.00% <100.00%> (ø)

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 feca92b...a7a7736. Read the comment docs.

@junyuan-chen junyuan-chen merged commit 9e5328b into master Mar 1, 2021
@junyuan-chen junyuan-chen deleted the pr/perf branch March 1, 2021 05:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
performance Enhancement of performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant