ClearScript Library

Results 125 comments of ClearScript Library

Hi @oconnor0, >In terms of precedent, `Array.Copy(xs, 0, ys, 0, 0);` copies 0 values without complaint. Hmm, according to [`GetLowerBound`](https://learn.microsoft.com/en-us/dotnet/api/system.array.getlowerbound) and [`GetUpperBound`](https://learn.microsoft.com/en-us/dotnet/api/system.array.getupperbound), the index range of a zero-length .NET array...

[ClearScript 7.5](https://github.com/microsoft/ClearScript/releases/tag/7.5.0) fixed fast data transfer bounds checking for zero-length arrays and buffers

Hi @AnsisMalins, This is an interesting change. Comments/questions: - We weren't aware of `ArrayPool`. Nice find! "Rental" is presumably slower than allocation, but if it isn't a big hit, it's...

Hi @smokeelow, >unmanaged memory grows to infinity with each execution That's definitely concerning, and we'd love to help you get to the bottom of it, but this change affects only...

Hi @AnsisMalins, Some observations: - Is this a complete change? The new code in V8FastArgs.cs appears to call a new `V8FastArgImpl` method, but the commit doesn't include V8FastArgImpl.cs. - We...