kos4live / php-grok

simple library to use/parse grok patterns with php
MIT License
16 stars 6 forks source link

Refactored resolving so it uses a cache #3

Open venatir opened 8 years ago

venatir commented 8 years ago

This is very useful when you parse millions of lines with the same format. There is no need to resolve patterns all the time.

Also, reformatted things a bit and removed some unnecessary comments.