Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #21 #22

Merged
merged 1 commit into from
Sep 24, 2023
Merged

Fix #21 #22

merged 1 commit into from
Sep 24, 2023

Conversation

chainsawriot
Copy link
Collaborator

benchmark
urls <- rep("https://www.google.co.jp/search?q=\u30c9\u30a4\u30c4", 10000)
urls[sample(1:10000, 100)] <- NA
bench::mark(adaR::ada_url_parse(urls))

it increases from 997ms (79a23d9) to 1040ms. But negligible.

```r
benchmark
urls <- rep("https://www.google.co.jp/search?q=\u30c9\u30a4\u30c4", 10000)
urls[sample(1:10000, 100)] <- NA
bench::mark(adaR::ada_url_parse(urls))
```

it increases from 997ms (79a23d9) to
1040ms. But negligible.
@chainsawriot
Copy link
Collaborator Author

chainsawriot commented Sep 24, 2023

@schochastics In the long run, we must need to replace URLdecode with C++ #13 .

96% of the running time is URLdecode.

Screenshot from 2023-09-24 18-23-12

@chainsawriot chainsawriot marked this pull request as ready for review September 24, 2023 16:25
@schochastics
Copy link
Collaborator

@chainsawriot thanks! I think I make this a 0.2.0 task. Confident that we can make this happen

@schochastics schochastics merged commit 625ef06 into gesistsa:main Sep 24, 2023
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.

2 participants