Skip to content

Specialize indexing with a AbstractFill{Bool} index#410

Draft
jishnub wants to merge 2 commits into
masterfrom
jishnub/bool_fill_vec_indexing
Draft

Specialize indexing with a AbstractFill{Bool} index#410
jishnub wants to merge 2 commits into
masterfrom
jishnub/bool_fill_vec_indexing

Conversation

@jishnub

@jishnub jishnub commented Jul 17, 2025

Copy link
Copy Markdown
Member

This improves performance, e.g. in

julia> v = rand(1000);

julia> f = Fill(true, length(v));

julia> @btime $v[$f];
  1.350 μs (3 allocations: 7.88 KiB) # master
  629.480 ns (3 allocations: 7.88 KiB) # this PR

@jishnub jishnub marked this pull request as draft July 17, 2025 19:02
@codecov

codecov Bot commented Jul 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.62%. Comparing base (877375f) to head (07a1b62).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
- Coverage   99.48%   98.62%   -0.86%     
==========================================
  Files           8        8              
  Lines        1157     1162       +5     
==========================================
- Hits         1151     1146       -5     
- Misses          6       16      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant