What\'s the best way, both aesthetically and from a performance perspective, to split a list of items into multiple lists based on a conditional? The equivalent of:
good, bad = [], [] for x in mylist: (bad, good)[x in goodvals].append(x)