Rafael Schouten

Results 1042 comments of Rafael Schouten
trafficstars

Unordered is much slower for large arrays, because binary search will beat linear search. But for small arrays Unordered may be faster

The confusion is that with ForwardOrdered `Between` or `..` have two meanings that both hold. 1. All indices with lookup values between specific values, and 2. all indices between the...

Ordered categories are a thing, so its really no different to Sampled. We _can_ make this change, Im just sure I will get a bug report one day where someone...

Yes Julia is helpfully trying to stop you doing what you're doing ;) If you want to do this anyway, you will have to force the array to have type...

Ok that makes sense, and does sound like it will be confusing to new people. The whole Params are also numbers thing is find of a gimmick honestly, it might...

I mean `Bool` is losing type domain information, which removes its main use case. Julia objects hold type information as well as value information, it's even physically contained in the...

`stripparams` Or define the method yourself maybe? I'm not even sure what AbstractNumbers.jl could do, but I would review and merge a PR that doesn't include a Unitful.jl dependency ;)...

I mean, that is the dream. But in practice things like this seem to happen somewhere or other. There are essentially no active maintainers of AbstractNumbers.jl, and the maintainers are...

We need a function like `parent` for numbers in Base that is called as a fallback. That would solve this completely.

The solution is to actually treat `Number` like an interface in Base. But probably good to push the point. Although be aware you are essentially volunteering to maintain AbstractNumbers.jl, as...