Skip to content

Commit 13f9a0f

Browse files
committed
reporting #threads
1 parent 692095c commit 13f9a0f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version 0.9.6.0
44
- New function 'extract': fuzzy matching equivalent of stringr::str_extract.
55
- New algorithm 'running_cosine': fast fuzzy text search using cosine distance.
66
- New function 'stringsimmatrix' (Thanks to Johannes Gruber).
7+
- Number of threads used is now reported when loading 'stringdist'.
78
- Internal fixes (in some cases class() == 'class' was used).
89

910
version 0.9.5.5

pkg/R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ mymsg <- message
2828
nthread <- min(omp_thread_limit,nthread)
2929

3030
options(sd_num_thread=nthread)
31+
packageStartupMessage(sprintf("stringdist uses %d threads.", nthread))
3132
}
3233

3334
# When necessary and possible, argument is coverted to integers.

0 commit comments

Comments
 (0)