-
Notifications
You must be signed in to change notification settings - Fork 252
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
是否可以多线程调用? #56
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前用单线程, 第一次调用 segmenter.Cut 的时候发现比较慢, 估计是懒初始化.
那么在第一次调用以后, 后面是不是就可以多线程调用了呢?
如果对词库等全局变量仅仅是只读, 那么理论上是可以支持多线程的
The text was updated successfully, but these errors were encountered: