|XP is just a number|
Re: Powerset short-circuit optimizationby BrowserUk (Pope)
|on Oct 03, 2006 at 19:38 UTC||Need Help??|
Would it be right to conclude that (assuming an efficient generator that doesn't generate duplicates), that you will only achieve this optimisation when generating multiple (related) powersets?
That is, in your second example,
Or, can the code assume that the sets are pre-ordered? Or should it sort them?
Or does the definition of powersets imply some ordering?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.