gojieba icon indicating copy to clipboard operation
gojieba copied to clipboard

请问怎样减少CPU消耗?

Open btfak opened this issue 7 years ago • 1 comments

我的使用场景中文较少,绝大部分是英文。只需要将常见的中文分词即可。 现在每秒2000~3000次分词,top 中看 cpu 消耗会超过100%,请问怎样能减少CPU消耗。

目前使用 CutForSearch (str, true) 这样的分词方式

btfak avatar Feb 05 '18 10:02 btfak

This issue has not been updated for over 5 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Sep 07 '24 13:09 github-actions[bot]