Pieter Eendebak

Results 48 issues of Pieter Eendebak

This PR optmizes `list.pop` Benchmark results ``` x=[1,2]; x.pop(0): Mean +- std dev: [m2] 81.8 ns +- 2.5 ns -> [pr_special] 68.9 ns +- 2.0 ns: 1.19x faster x=[1,2]; x.pop(1):...

type-feature
performance
awaiting review

The original idea and implementation are from @villemoes. The original issue has been inactive for a long time. Benchmark on deepcopy of a `dict` and `dataclass`: ``` deepcopy dict: Mean...

performance
awaiting change review
extension-modules

## PR summary * Update `Figure.clear()` to reset the properties of `Figure.subplotpars`. * Add representation method for `matplotlib.gridspec.SubplotParams` * Add `rc_default` parameter to the `SubplotParams.update` Fixes #11059. This PR is...

topic: geometry manager
status: needs rebase
topic: pyplot API
topic: figures and subfigures

### Description In https://github.com/python/cpython/pull/102492 the IronPyhon 2.x version parsing is removed. We are wondering whether the other regular expression parsing a version tag, e.g. https://github.com/python/cpython/pull/102492/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503L1043-L1048 is still correct and relevant...

The 2-qubit GST is computationally quite expensive. It is possible to improve performance by caching operation label to matrix computations. In particular in `MatrixForwardSimulator._compute_product_cache` the line (https://github.com/sandialabs/pyGSTi/blob/master/pygsti/forwardsims/matrixforwardsim.py#L742-L747) ``` gate =...

enhancement

The OpenQL ` set` and ` set_option` methods do not work with pathlib duck typing for str. A minimal example: ``` import openql as ql import tempfile from pathlib import...

## Description When importing the python builtin module `decimal` and setting the precision to 1 every second cell executed in jupyter lab freezes. The same code runs without problems in...

bug

Is it possible to highlight the current cell?

enhancement