help
David Garamond
davegaramond at icqmail.com
Mon Oct 7 05:16:12 EDT 2002
More information about the Python-list mailing list
Mon Oct 7 05:16:12 EDT 2002
- Previous message (by thread): Py_Finalize Crashes in after PyRun_File
- Next message (by thread): help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
i believe in is pretty much the fastest you can get for linear searches. if you have a very large number of items and want to quickly locate an item, you might want to use a dictionary. -- dave James Whithear wrote: > I am searching a list for one or the elements in the list and wanted to know > if there is a faster way then using the IN operator? > Thanks James > >
- Previous message (by thread): Py_Finalize Crashes in after PyRun_File
- Next message (by thread): help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list