From 68ad052aecc907cad7f72f18960feb29de8fe822 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 18 Nov 2019 15:45:28 +0100
Subject: [PATCH] =?UTF-8?q?Slovn=C3=ADky:=20Shrnut=C3=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 08-slovniky/08-slovniky.tex | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/08-slovniky/08-slovniky.tex b/08-slovniky/08-slovniky.tex
index 97ad136..4647302 100644
--- a/08-slovniky/08-slovniky.tex
+++ b/08-slovniky/08-slovniky.tex
@@ -114,7 +114,7 @@ a - b
 teploty = \{ "Praha": 17, "Dillí": 42, "Longyearbyen": -46 \}\\
 teploty["Praha"]
 }{%
-17  \cmt{(klíčem může být každý neměnný typ)}
+17
 }
 
 \py{%
@@ -229,4 +229,21 @@ list(podle\_délek.items())
 
 % ----------------------------------------------------------------------
 
+\begin{frame}{Shrnutí: Vlastnosti množin a slovníků}
+
+\begin{itemize}
+
+\item Klíčem může být libovolný neměnný typ (třeba číslo, řetězec či tuple,
+ale ne seznam nebo množina).
+
+\item Operace s~jednotlivými prvky běží v~konstantním čase (aspoň průměrně).
+
+\item Operace s~celou množinou běží v~lineárním čase.
+
+\end{itemize}
+
+\end{frame}
+
+% ----------------------------------------------------------------------
+
 \end{document}
-- 
GitLab