Ivar Nesje

Results 58 comments of Ivar Nesje

Hmm.. That seems like a reasonable usage of `zeros(Ptr{T}, x)`. Maybe we should have changed the documentation, instead of depreciating the method?

Thinking more about this, I have come to believe that not zeroing the memory in `Array(Ptr{T}, x)` is a mistake, and should rather be fixed in the array constructor than...

Sorry for the typo (I edited my post). Regarding `[Required]` and the default value for `additionalProperties`, that's something I think should be possible to change/configure with `ISchemaRefiner`. #264 inspired me...

> There is already some provision for this. Please see the docs: https://json-everything.net/json-schema#nullability Yes, but there isn't a way to say that all fields should be required in the schema,...

With `code_lowered` you need to supply types for the arguments, and you get a altered expression tree. I'm unsure if that is a problem though.

These simplifications breaks matrix algebra.

If you have a matrix in the denumerator, you can not shorten it by this kind of simple elimination. Sometimes you will end up with an identity matrix `eye(A)`, but...

Yes, it is because (users of) julia does not follow its basic API design principle for `\` and`*`. One function should only have one meaning and behave roughly the same...

I think it is good to remove functions with poor mathematical properties, especially when it is so simple to write the full version which makes it clear what is happening,...

A first version that knows a short list of commutative operations (+, *) and checks if they are equal if the arguments reordered should not be too much work. It...