Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cpython

__builtin__.iterator Does Not Exist?

Consider: Python 2.7.3 (default, Aug 2 2012, 16:55:39) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on… Read more __builtin__.iterator Does Not Exist?

Why Is It Slower To Iterate Over A Small String Than A Small List?

I was playing around with timeit and noticed that doing a simple list comprehension over a small st… Read more Why Is It Slower To Iterate Over A Small String Than A Small List?

Memory Leak When Embedding Python Into My Application

The following program, when linked against python 2.7.13 and run on Windows 10 slowly but steadily … Read more Memory Leak When Embedding Python Into My Application

Storing Python Objects In A Python List Vs. A Fixed-length Numpy Array

In doing some bioinformatics work, I've been pondering the ramifications of storing object inst… Read more Storing Python Objects In A Python List Vs. A Fixed-length Numpy Array

Migrating From Cpython To Jython

I'm considering moving my code (around 30K LOC) from CPython to Jython, so that I could have be… Read more Migrating From Cpython To Jython

Forcing Modules To Run In PyPy From A CPython Script (run PyPy On Part Of The Code)?

Is there a way to import modules from a CPython script, but run them in PyPy? The problem is that I… Read more Forcing Modules To Run In PyPy From A CPython Script (run PyPy On Part Of The Code)?