[racket-dev] strange performance on regexp-match: proposed patch

From: Eli Barzilay (eli at barzilay.org)
Date: Tue May 3 18:21:09 EDT 2011

On Wednesday, Danny Yoo wrote:
> I've isolated a performance issue on form-urlencoded->alist.  On
> strings with very long key/values, the code appears to consume an
> unusual amount of memory.  Does the following look ok?

I made a different change that simplifies the code and should be as
fast as your version -- I basically just used #rx"=" to do the search
then split on the results.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.