fukuball / jieba-php

"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
http://jieba-php.fukuball.com
MIT License
1.32k stars 260 forks source link

tp5使用测试占用331M内存 #58

Closed excxapp closed 4 years ago

excxapp commented 5 years ago

奇怪为嘛占用这么大内存。没有还在自己的字典,直接跑demo

fukuball commented 4 years ago

因為預設字典就佔了很大內存,PHP 的 Array 似乎很吃內存