kerams

Results 190 comments of kerams

At the same time, I'm not sure how the compiler processes active patterns encountered in IL. If it just looks at the return type, then there might be trouble when...

> That being said, I don't know what the compiler would do if we manufactured an assembly with a function named |A|B|C|D|E|F|G|H| and then tried to call it. I have...

The disadvantage of that approach is that you increase "choice depth" with every 7 recognizers, so you end up needing way more case checks during pattern matching for the "rightmost"...

Does that mean November at the earliest? I made the unfortunate decision to install Sequoia beta and it does not support Xcode 15. So the question is whether I should...

Yes - more characters that need to be processed at run time. ```fsharp $"%d{1}" PrintfModule.PrintFormatToStringThen(new PrintfFormat("%d%P()", array, null)) $"{1}" PrintfModule.PrintFormatToStringThen(new PrintfFormat("%P()", array, null)) ``` It's probably only marginally slower. If...

Opt in would be fine. `Commit` is the one that interests me the most. When doing dozens of updates and inserts in a transaction, each individual command executes much faster...

DU types are generated by the F# compiler. Secondly, you're giving names to fields, not type parameters. If you were to do `Map`, where would that information be stored? The...

Those aren't tuples but fields [on the class generated by the F# compiler](https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AbEAzAzgHwBcBPABxgAIANCgXgFgAoCli/CgQQom24DsYICgEs+hCgCoKhAO4QhowkA===). [This is a tuple](https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AbEAzAzgHwBcBPABxgAIANCgXgFgAoCli/CgQQomwoAoAlgDtCFAFQVhhAJRA=), and you can't give those elements names. Or more precisely, you can't give...

Huh, interesting. In any case, the attribute is tuple-specific, which doesn't help us with naming type arguments into 3rd party types like `ICollection`.

The byte arrays behind `MemoryStream` are `RecyclableMemoryStream` are all managed. However, you're right that there seems to be quite a lot of unreleased unmanaged memory, perhaps suggesting a leak in...