<div class="gmail_quote">2009/9/11 Vincent Fretin <span dir="ltr"><<a href="mailto:vincent.fretin@gmail.com">vincent.fretin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I'm sorry I broke the tests.<br>
But instead of reverting, maybe we can sort the list and fix the doctests?<br>
self.klass = u' '.join(sorted(frozenset(parts)))<br>
<br>
It's just an idea, if you don't like it, I'm fine with the current code. :-)<br>
<br></blockquote></div>What's the general idea behind changing that? The original algorithm is not so complicated and it has a somewhat feature that it preserves the order in which classes were added, that can be nice for rendered code readability in some cases (however, I personally didn't ever needed that). Is there any significant difference in performance?<br clear="all">
<br>-- <br>WBR, Dan Korostelev<br>