оГ
Size: a a a
VS
VS
VS
оГ
member this.Rec () =
async {
let mutable i = 0
let rec while' () =
if i = this.Length
then i
else
i <- i + 1
while' ()
return while' ()
} |> Async.RunSynchronously
оГ
member this.WhileAsync() =
async {
let mutable i = 0
while i < this.Length do
i <- i + 1
return i
} |> Async.RunSynchronously
оГ
member this.WhileTask () =
(task {
let mutable i = 0
while i < this.Length do
i <- i + 1
return i
}).Result
VS
VS
оГ
оГ
оГ
VS
оГ
оГ
оГ
VS
VK
оГ
VS