Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many many fixes #27

Merged
merged 22 commits into from
Aug 31, 2020
Merged

Many many fixes #27

merged 22 commits into from
Aug 31, 2020

Conversation

marco-neumann-by
Copy link
Contributor

See individual commits. That all came up when battle-testing rle-array on some internal project.

This does not work with poetry.
Before:

```
$ poetry run asv run --python=same --show-stderr -b Unique
...
[ 50.00%] ··· benchmarks.TimeUnique.time_const12_base    6.31±0.2ms
[100.00%] ··· benchmarks.TimeUnique.time_const12_rle     40.6±0.9ms
```

After:

```
$ poetry run asv run --python=same --show-stderr -b Unique
...
[ 50.00%] ··· benchmarks.TimeUnique.time_const12_base    6.45±0.07ms
[100.00%] ··· benchmarks.TimeUnique.time_const12_rle         188±2μs
```
Before:

```
$ poetry run asv run --python=same --show-stderr -b Compress
...
[100.00%] ··· benchmarks.TimeCompression.time_decompress    7.11±0.5ms
```

After:

```
$ poetry run asv run --python=same --show-stderr -b Compress
...
[100.00%] ··· benchmarks.TimeCompression.time_decompress    4.23±0.2ms
```
Before:

```
$ poetry run asv run --python=same --show-stderr -b Compress
...
[ 50.00%] ··· benchmarks.TimeCompression.time_decompress_array_astype    4.37±0.3ms
[100.00%] ··· benchmarks.TimeCompression.time_decompress_to_numpy        1.60±0.3ms
```

After:

```
$ poetry run asv run --python=same --show-stderr -b Compress
...
[ 50.00%] ··· benchmarks.TimeCompression.time_decompress_array_astype    3.04±0.3ms
[100.00%] ··· benchmarks.TimeCompression.time_decompress_to_numpy         844±100μs
```
Before:

```
$ poetry run asv run --python=same --show-stderr -b Factorize
...
[ 50.00%] ··· benchmarks.TimeFactorize.time_const12_base    11.2±0.2ms
[100.00%] ··· benchmarks.TimeFactorize.time_const12_rle     73.7±0.7ms
```

After:

```
$ poetry run asv run --python=same --show-stderr -b Factorize
...
[ 50.00%] ··· benchmarks.TimeFactorize.time_const12_base    10.7±0.2ms
[100.00%] ··· benchmarks.TimeFactorize.time_const12_rle     3.68±0.1ms
```
rle_array/array.py Show resolved Hide resolved
rle_array/array.py Show resolved Hide resolved
@hendrik-teuber-by hendrik-teuber-by self-requested a review August 21, 2020 12:08
@marco-neumann-by marco-neumann-by merged commit 1c2dd13 into master Aug 31, 2020
@marco-neumann-by marco-neumann-by deleted the misc_fixes_1 branch August 31, 2020 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants