Skip to content

perf: slice is faster#99

Open
cesco69 wants to merge 1 commit intomdevils:mainfrom
cesco69:patch-1
Open

perf: slice is faster#99
cesco69 wants to merge 1 commit intomdevils:mainfrom
cesco69:patch-1

Conversation

@cesco69
Copy link

@cesco69 cesco69 commented Sep 19, 2025

https://www.measurethat.net/Benchmarks/Show/2335/1/slice-vs-substr-vs-substring-with-no-end-index#latest_results_block

slice x 25,768,061 ops/sec ±10.38% (42 runs sampled)
substr x 23,764,229 ops/sec ±8.05% (42 runs sampled)
substring x 24,512,322 ops/sec ±10.47% (29 runs sampled)

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