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

Reduce memory use in threading correctness tests #3172

Merged
merged 4 commits into from
Sep 21, 2022

Conversation

yakir12
Copy link
Contributor

@yakir12 yakir12 commented Sep 21, 2022

Work with a matrix filled with nothing instead of random Int8s, goes from 98 KB to 48 B. This is an attempt to perhaps elevate the failiure here: https://github.com/JuliaData/DataFrames.jl/actions/runs/3091782763/jobs/5002284179#step:6:1105

Work with a matrix filled with nothing instead of random `Int8`s, goes from 98 KB to 48 B.
test/indexing.jl Outdated Show resolved Hide resolved
test/indexing.jl Outdated Show resolved Hide resolved
@bkamins
Copy link
Member

bkamins commented Sep 21, 2022

We cannot use nothing as then the test would not test correctness of selection. However, I have changed the code to use 2x less memory.

@bkamins bkamins added the CI label Sep 21, 2022
@bkamins bkamins added this to the 1.4 milestone Sep 21, 2022
@yakir12
Copy link
Contributor Author

yakir12 commented Sep 21, 2022

I feel like a 🎉 is in place! Because the CI passed..

@bkamins bkamins merged commit cae78ce into JuliaData:main Sep 21, 2022
@yakir12 yakir12 deleted the patch-1 branch September 21, 2022 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants