🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27184

Re: Python a hashmapa

#27184
From: wodzik
Date: Sat, 09 Jan 2010 11:01
7 lines
1247 bytes
On 2010-01-09 10:23, Michal wrote:

> hashmapa = {'a' : 1, 'n': 3}
> print hashmapa['a']

czyli rozumiem, że operacje wstawiania - wyszukiwania mają złożoność 
obliczeniową równą 1?
Technical Details
Message-ID: <hi9nmc$iqv$1@zeus.man.szczecin.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!news.man.szczecin.pl!not-for-mail
References: <hi9a48$c1b$1@zeus.man.szczecin.pl> <20100109102348.d563af8e.natural-born-killer@dontmailme.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!news.man.szczecin.pl!not-for-mail
From: wodzik <wodzik@noreply.com>
Newsgroups: pl.comp.lang.python
Subject: Re: Python a hashmapa
Date: Sat, 09 Jan 2010 12:01:42 +0100
Organization: ACI - http://www.aci.com.pl
Lines: 7
Message-ID: <hi9nmc$iqv$1@zeus.man.szczecin.pl>
References: <hi9a48$c1b$1@zeus.man.szczecin.pl> <20100109102348.d563af8e.natural-born-killer@dontmailme.com>
NNTP-Posting-Host: 212.14.0.154
Mime-Version: 1.0
X-Trace: zeus.man.szczecin.pl 1263034893 19295 212.14.0.154 (9 Jan 2010 11:01:33 GMT)
X-Complaints-To: usenet@news.man.szczecin.pl
NNTP-Posting-Date: Sat, 9 Jan 2010 11:01:33 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
In-Reply-To: <20100109102348.d563af8e.natural-born-killer@dontmailme.com>
X-Antivirus: avast! (VPS 100108-1, 2010-01-08), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit