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

Fix depwarns and wrong use of reinterpret #14

Merged
merged 1 commit into from May 23, 2017

Conversation

yuyichao
Copy link
Contributor

@coveralls
Copy link

coveralls commented May 18, 2017

Coverage Status

Coverage decreased (-0.5%) to 93.431% when pulling 7b9647f on yuyichao:align into 67e4583 on andrewcooke:master.

a::Vector{UInt8}
end
# unsafe
@inline Base.getindex{T}(a::UnalignedVector{T}, i) = unsafe_load(Ptr{T}(pointer(a.a)), i)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boundscheck Base.checkbounds(a.a, i) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only limited user below is in @inbounds so I didn't bother...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Also because this package still support 0.4, which doesn't support the new bounds check elision yet?)

@@ -1,3 +1,3 @@
julia 0.4
ArgParse
Compat 0.16.0
Compat 0.18.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should only be 0.17 right, since none of the aliases are parametric?

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.

None yet

5 participants