Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in cpython

How is the s=s+c string concat optimization decided?

Modify *existing* variable in `locals()` or `frame.f_locals`

python cpython

Regex replace is taking time for millions of documents, how to make it faster?

`object in list` behaves different from `object in dict`?

Can I treat IronPython as a Pythonic replacement to C#?

Python source code for built-in "in" operator

Why does setting a descriptor on a class overwrite the descriptor?

Why does my Sieve of Eratosthenes work faster with integers than with booleans?

String matching performance: gcc versus CPython

Tuple slicing not returning a new object as opposed to list slicing

python list tuples slice cpython

ValueError: failed to parse CPython sys.version after using conda command

python anaconda cpython conda

concurrent.futures.ThreadPoolExecutor swallowing exceptions (Python 3.6)

Python hasattr vs getattr

What method does Python 2 use to print tuples?

'{0}'.format() is faster than str() and '{}'.format() using IPython %timeit and otherwise using pure Python

python cpython

Why is copying a list using a slice[:] faster than using the obvious way?

How are variables names stored and mapped internally?

What exactly is the optimization `functools.partial` is making?

Which characters are considered whitespace by split()?

python python-2.x cpython

Why does naive string concatenation become quadratic above a certain length?