Re: [Linux-programlama] Python'da Sözlük Kullanımıyla İlgili

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: mustafaunl@hotpop.com
Date: Wed 10 Aug 2005 - 00:56:55 EEST


Alper KANAT wrote:

> Kafa karıştırıcı bir durum bence de.. Verdiğim sırada tutmaması
> garip.. Ethem Bey'in dediği gibi liste ya da tüp içerisinde tutmak en
> iyisi olacak herhalde bilgileri..
>
> Ahmet ERDOGAN yazmış:
>
>> Sebebini anlamadım sadece anahtar değerlerini tek harf yaptım
>> bu sonucu verdi......
>>
>>>>> sozluk={'i':'Alper','s':'KANAT','n':'0555 2436964'}
>>>>> print sozluk
>>>>
>>>>
>> {'i': 'Alper', 's': 'KANAT', 'n': '0555 2436964'}
>>
>> kolay gelsin....
>> _______________________________________________
>> Linux-programlama mailing list
>> Linux-programlama@liste.linux.org.tr
>> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>>
>_______________________________________________
>Linux-programlama mailing list
>Linux-programlama@liste.linux.org.tr
>http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
>
Python kodlarına baktıktan sonra bu garip sıralama işleminin daha hızlı
arama için hashing işlemi yapılmış gibi gözüküyor ?
(Başka fikri olan ? )

Bakılabilecek yerler:
Python kodları içinde:
Objects\dictobject.c
Objects\dictnotes.txt
internetten bakmak için:
dictobject.c
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Objects/dictobject.c?rev=2.165&view=auto
dictnotes.txt
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Objects/dictnotes.txt?rev=1.5&view=log

ayrıca niye hashing daha yararlı konuyu anlamak için:
http://www.it-c.dk/people/pagh/papers/defense.ppt

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.