lebinh / ngxtop

Real-time metrics for nginx server
MIT License
6.49k stars 473 forks source link

optimize regex to speed up #98

Closed dirtysalt closed 5 months ago

dirtysalt commented 5 years ago

use ending character to optimize regex matching process

ideas from https://github.com/satyrius/gonx#format