-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.xml
34 lines (29 loc) · 1.19 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http:https://www.w3.org/2005/Atom">
<channel>
<title>python on Evert Timberg</title>
<link>https://everttimberg.io/tags/python/</link>
<description>Recent content in python on Evert Timberg</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://everttimberg.io/tags/python/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Profiling Python Code with QCacheGrind</title>
<link>https://everttimberg.io/blog/python-profiling/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://everttimberg.io/blog/python-profiling/</guid>
<description>Profiling is the first step to improving the performance of code. Suppose we want to profile the Python script below which is based on the example here. It prints out the first 20 Fibonacci numbers and is unoptimized to make the profile exaggerated.
def fib(n):if n == 0:return 0elif n == 1:return 1else:return fib(n-1) + fib(n-2)def fib_seq(n):seq = [ ]if n &gt; 0:seq.</description>
</item>
</channel>
</rss>