Calling `zeroCreateUnchecked` from an F# program -


i can see in fsharp.core source code, library functions call microsoft.fsharp.primitives.basics.array.zerocreateunchecked count create 0 initialized array. in order performance comparisons core libraries same, private method can't seem access. can see definition of function is:

let inline zerocreateunchecked (count:int) =             (# "newarr !0" type ('t) count : 't array #) 

but doesn't appear valid in normal f# program either. there way make work?


Comments