dzmitry-lahoda

Results 322 comments of dzmitry-lahoda

`Force()` feels different by functional and behavior of memoize #100. Memoize lazy, but cacheable with some performance overhead during run. Force is eager(evaluates all in current context and may be...

Yep. Correct. Having count, but still lazy is a problem. Need to think about it. I believe if collection is not read only then may pass it as is -...

Would it work with Immutable and other(may be custom collections)? I doubt it possible to have all these as to many dlls are needed from nuget on .net core. It...

In our project(other than I have found `Force` useful, first for server, current is desktop) people tend to leave several `ToArray` and `ToList`[1] in code of same method. These are...

In some modern scenarios `ToSpan` may (sometimes) server similar purposes of `Force`, but no always.

@atifaziz may be give pr rigths for some contrib except you?

``` Method | ItemCount | Mean | Error | StdDev | --------------------- |---------- |------------:|----------:|-------------:| SWAR_ImTools | 1000 | 2,362.5 ns | 47.07 ns | 73.284 ns | Popcnt | 1000...

``` Adding 10 items (ms): Trie PopCnt- 0 Trie - 0 Getting one out of 10 items 1,000,000 times (ms): Trie PopCnt - 21 Trie - 20 ==================== Adding 100...

I see Trie is faster than Tree always. And only slower on 1M items to add. Interesting replacement of IoC. But may be be better try out BDN to measure...