mocobeta / janome

Japanese morphological analysis engine written in pure Python
https://mocobeta.github.io/janome/en/
Apache License 2.0
848 stars 51 forks source link

Switch default mmap mode to True #85

Closed mocobeta closed 4 years ago

mocobeta commented 4 years ago

With #84, finally mmap option can be set to True by default. This reduces memory usage (of python process) by 40%.

mocobeta commented 4 years ago

on non-64bit architecture, mmap is disabled by default.