dlclark / regexp2

A full-featured regex engine in pure Go based on the .NET engine
MIT License
997 stars 84 forks source link

fix GC issue: release []rune when reusing the runner. which leads to 'runtext' and 'runmatch.text' inability to be garbage collected until next use. #81

Closed chinaykc closed 4 months ago

chinaykc commented 4 months ago

fix GC issue: release []rune when reusing the runner. which leads to 'runtext' and 'runmatch.text' inability to be garbage collected until next use.

dlclark commented 4 months ago

LGTM