Skip to content
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

переход на использование отдельного потока разбора #24

Open
ctapmex opened this issue Feb 23, 2017 · 1 comment
Assignees

Comments

@ctapmex
Copy link
Member

ctapmex commented Feb 23, 2017

реализовать разбор в отдельном потоке

@VictorVG
Copy link

И тут я бы использовал ту же идею что и авторы IDM UltraEdit/UEStudio - если файл невелик, считыаем его в буфер и красим целиком, если большой, то читаем блоками с упреждением относительно текущей позиции. Думаю это поможет, да и нагрузку на подсистему I/O распределит во времени, не говоря о чисто счётной нагрузке.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants