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

Do not specialize eachindex #206

Merged
merged 3 commits into from
Feb 19, 2021
Merged

Do not specialize eachindex #206

merged 3 commits into from
Feb 19, 2021

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Feb 18, 2021

OffsetArrays does not need to specialize eachindex as the Base implementation for AbstractArrays has the same code. Similarly size(::OffsetArray, d) was repeating the code for AbstractArrays, and is not necessary.

@codecov
Copy link

codecov bot commented Feb 18, 2021

Codecov Report

Merging #206 (baf034c) into master (c805039) will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
- Coverage   98.29%   98.27%   -0.02%     
==========================================
  Files           5        5              
  Lines         293      290       -3     
==========================================
- Hits          288      285       -3     
  Misses          5        5              
Impacted Files Coverage Δ
src/OffsetArrays.jl 97.92% <ø> (-0.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c805039...baf034c. Read the comment docs.

@jishnub jishnub merged commit ee0dced into JuliaArrays:master Feb 19, 2021
@jishnub jishnub deleted the eachindex branch February 19, 2021 14:21
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.

2 participants