[m-rev.] for review: string switches using tries

Michael Day mikeday at yeslogic.com
Tue Feb 24 17:38:18 AEDT 2015


Hi Zoltan,

> I don't have access to any real workloads in which switches on strings
> are a nontrivial part of the task, so I am missing real data for part (b).
> When other developers have had a chance to try out this diff and have found
> that it works for them, I was planning to ask for volunteer performance
> evaluators on the mercury-users list. I think it likely that Michael Day
> would be interested.

We have a few semidet switches on strings, eg. for CSS property names, 
which have lots of common prefixes like border-left, border-right, etc.

Peter Wang might like to test this, as he builds new compiler versions 
more frequently than I do :)

Michael

-- 
Prince: Print with CSS!
http://www.princexml.com



More information about the reviews mailing list