unique items in lists

Radovan Garabik garabik-news at spam.melkor.dnp.fmph.uniba.sk
Tue Mar 27 09:31:07 EST 2001


comp.lang.python <micampe at f2s.com> wrote:
 : Which is the best (read: fastest) way to remove duplicated items from a list
 : of strings?

import kjbuckets
l = kjbuckets.kjSet(l).items()


-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!



More information about the Python-list mailing list