AutoFlowResearch / SmartPeak

Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
MIT License
41 stars 13 forks source link

Fixed session error due to regex #478

Closed bertrandboudaud closed 2 years ago

bertrandboudaud commented 2 years ago

The regexes that we use to check if we are parsing boolean, integer or floats lists use too much memory (and are slow).

one unit test is created to show the issue (bigString).

Utilities offers an isList method that returns whether the list is composed of types determined by a (hopefully not greedy) regex.