jzakiya <[EMAIL PROTECTED]> wrote: > >I looked online and in books, but couldn't find a definitive answer to >this. > >I have an array and set multiple elements to either True or False at >one time. > >Question: Which way is faster (or does it matter)?
Answer: it does not matter. This is premature optimization. First, make it work. Then, figure out whether it is fast enough. THEN, figure out what's taking the most time. I'd be very, very surprised if this was an important part of your run time. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list