Re: [Pharo-dev] Review someone
Ben wrote:
It used to be regex, but regex are slow (and far slower than just string comparison)
Yes, I saw that. They are also useful. Checking if the search string contains regex characters is not slow. Only doing regex checking when they are there solves the main slowness, without losing the flexibility. Stephan
Indeed :) But I did not want to spend too much time there :P Ben On 06 Dec 2013, at 12:38, Stephan Eggermont <stephan@stack.nl> wrote:
Ben wrote:
It used to be regex, but regex are slow (and far slower than just string comparison)
Yes, I saw that. They are also useful. Checking if the search string contains regex characters is not slow. Only doing regex checking when they are there solves the main slowness, without losing the flexibility.
Stephan
New slice proposed :P Ben On 06 Dec 2013, at 12:38, Stephan Eggermont <stephan@stack.nl> wrote:
Ben wrote:
It used to be regex, but regex are slow (and far slower than just string comparison)
Yes, I saw that. They are also useful. Checking if the search string contains regex characters is not slow. Only doing regex checking when they are there solves the main slowness, without losing the flexibility.
Stephan
participants (2)
-
Benjamin -
Stephan Eggermont