Skip to content

Some further code optimizations#677

Merged
remlapmot merged 6 commits intoMRCIEU:masterfrom
remlapmot:devel-2026-03-30
Mar 31, 2026
Merged

Some further code optimizations#677
remlapmot merged 6 commits intoMRCIEU:masterfrom
remlapmot:devel-2026-03-30

Conversation

@remlapmot
Copy link
Copy Markdown
Contributor

No description provided.

Replace NULL initialisation followed by index assignment with properly sized vectors (numeric(L)) and lists (vector("list", n)) in rucker.R and format_mr_results2.R to avoid repeated memory reallocation in loops.
…ication

Avoid unnecessary string allocation when finding unique exposure-outcome combinations.
rbindlist() is substantially faster than do.call(rbind, ...) for combining lists of data frames
@remlapmot remlapmot merged commit a6defd3 into MRCIEU:master Mar 31, 2026
12 checks passed
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