More speed by having two rails. Not always true. |
Tuesday, February 23, 2016
Concurrency in Python
Friday, February 19, 2016
My Python IDE Journey
Pick one. |
First Stop
Everything starts with gedit, nano and vim, right? Not quite full IDEs but it's a start. You can at least write code and have some syntax highlighting available. Until today, a colleague of mine uses vim with tons of plugins featuring "go to definition", "find usages", "code completion", "project nav tree", etc. So, it's quite possible to work with simple editors and enhance them indefinitely.
As you can imagine, I was looking for something else which goes beyond the venerable terminal. So, I started looking for an alternative with the following properties (in its order of priority):
Labels:
education,
IDE,
IPython Notebook,
productivity,
PyCharm,
Python,
Spyder,
vim
Thursday, February 18, 2016
Let's go down the rabbit hole!
Things can be topsy-turvy when considered upside down. |
Imagine you want to count the number of items being set in a list. So, instead of providing a native list object, you write your own class like this:
Tuesday, February 16, 2016
The xheap Benchmark
These are the inlets of a steam engine. That means, it's time to perform some serious measurements! |
We are going to compare xheap and heapq. The benchmark suite can be found right by the source.
The Competitors
- heapq - collections of heap functions of Python stdlib written in C
- xheap - object-oriented wrappers for heapq
Subscribe to:
Posts (Atom)