Pieter Eendebak
Pieter Eendebak
Add support for setting mininterval and maxinternal via environment variables
The [Spyder](https://github.com/spyder-ide/spyder) environment console uses IPython, and are therefore recognized by tqdm as notebooks. The progress bar does only work with `tqmd.std` though. In this PR we detect Spyder and...
# The short story There are many open PRs with the label "awaiting core review" (currently: 475). To keep the list of items to be addressed by core developers manageable...
After writing a mesh to .obj format the color is discarded. An example script is included below. The generated .obj file starts with ``` # wavefront obj file written by...
Improve performance of `startswith` and `endswith` by eliminating double work in `tailmatch`. Benchmark results: ``` single-character match: x.startswith('a'): Mean +- std dev: [main_startswith] 80.6 ns +- 0.7 ns -> [v2_startswith]...
### What should we add? For custom gates translation rules can be added to the default equivalence library using the `SessionEquivalence` object. This is not always enough for the transpiler...
The import of `isin` used is not availabe in numpy 2.0. If the import is required for backwards compatibility, then I suggest to replace it with `from numpy import isin`
For scalar array comparison of different type such as `np.array(1) == np.array('s')` we return a numpy bool instead of a python bool. See #27271
Improve performance of `np.non_zero` for 1D and 2D contiguous arrays. The main cases improved are 2D boolean arrays and 1D/2D int and float arrays. The PR is based on work...
- Use `NPY_PRIORITY` instead of `0` where appropriate - Simplify implementation by making use of `Py_NewRef` - Eliminate `wrap == NULL` check