Skip to content

perf(compute_mode): drop data.table overhead#179

Draft
m-muecke wants to merge 1 commit into
mainfrom
perf/compute-mode
Draft

perf(compute_mode): drop data.table overhead#179
m-muecke wants to merge 1 commit into
mainfrom
perf/compute-mode

Conversation

@m-muecke

Copy link
Copy Markdown
Member

Benchmarks via bench::mark (2000 iterations, ties_method = "first"):

input old median new median speedup
int (n=100) 412µs 9.7µs ~42×
int (n=10k) 623µs 128µs ~4.9×
int (n=100k) 1.62ms 1.17ms ~1.4×
chr (n=100) 423µs 9.0µs ~47×
chr (n=10k) 690µs 258µs ~2.7×
dbl (n=100k) 2.76ms 1.87ms ~1.5×

@m-muecke m-muecke requested a review from be-marc April 22, 2026 09:53
@m-muecke m-muecke marked this pull request as draft June 9, 2026 15:21
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