-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]designDesign of APIs or of the language itselfDesign of APIs or of the language itselffeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requests
Description
Density is orthogonal to many types (e.g. StaticArray, CodeUnits, SubArray, etc) so it makes more sense as a trait instead of an abstract type.
As a starting point,
isdense(::DenseArray) = true
isdense(::Array) = false
isdense(::String) = true # Maybe
Maybe also applies to strings?
See also:
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]designDesign of APIs or of the language itselfDesign of APIs or of the language itselffeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requests