-
-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Description
I am looking at using XRegExp in a long-running server, where user-supplied regex statements are compiled and used to match values.
Internally, XRegExp uses a cache mechanism to avoid recompiling already-seen patterns. This is great, but will become a memory leak over time as nothing evicts the compiled patterns over time.
Ideally one could configure XRegExp to use an LRU cache instead of the simple object cache so that the size never grows beyond a specified size.
Metadata
Metadata
Assignees
Labels
No labels