Closed brookxs closed 1 year ago
You MUST delete the content above including this line before posting, otherwise your issue will be invalid.
//go:embed zh/dictionary.txt var zhSimpleDict string var ( seg gse.Segmenter ) func Init() (err error) { return seg.LoadDictEmbed(zhSimpleDict) }
整个项目中gse占用内存最大,有没有什么办法优化? 字典是8m的大小 ...
You MUST delete the content above including this line before posting, otherwise your issue will be invalid.
Description
整个项目中gse占用内存最大,有没有什么办法优化? 字典是8m的大小 ...