C++ | |
---|---|
C# |
LinksPlatform's Platform.Collections Class Library.
Namespace: Platform.Collections
Forked from: Konard/LinksPlatform/Platform/Platform.Helpers/Collections
NuGet package: Platform.Collections
PDF file with code for e-readers.
LinksPlatform's Platform.Collections Class Library
Home Page: https://linksplatform.github.io/Collections
License: The Unlicense
C++ | |
---|---|
C# |
LinksPlatform's Platform.Collections Class Library.
Namespace: Platform.Collections
Forked from: Konard/LinksPlatform/Platform/Platform.Helpers/Collections
NuGet package: Platform.Collections
PDF file with code for e-readers.
Collections/Arrays/ArrayString.cs
Line 3 in a76be8a
Collections/Segments/Segment.cs
Line 7 in a76be8a
Collections/Segments/Segment.cs
Line 31 in a76be8a
Collections/Lists/IListExtensions.cs
Line 55 in a76be8a
Collections/Arrays/ArrayPool.cs
Line 6 in e4fbd36
virtuals methods does not support template parameters
This is no good
void WalkAll(IEnumerable auto) { ... }
Proposed code
while(!_stack.IsEmpty)
{
_ = _stack.Pop();
}
This method will be used here:
Collections/Platform.Collections.csproj
Line 16 in 56c3b06
Collections/Lists/IListExtensions.cs
Line 35 in e4fbd36
Collections/Segments/CharsSegment.cs
Line 6 in e4fbd36
Collections/Lists/IListExtensions.cs
Line 7 in a76be8a
Collections/Lists/IListExtensions.cs
Line 50 in a1c44f1
proposed code
public TLink[] ToArray(this IList<T> list)
{
var array = new TLink[list.Count];
list.CopyTo(array, 0);
return array;
}
and use it here:
and delete from here:
If we apply multiple operation in single place in the memory this can be faster than applying just one operation for the whole BitString due to memory bandwidth limitations.
10000 RUB reward can be claimed by anyone who completes this task.
Collections/Arrays/ArrayPool.cs
Line 7 in e4fbd36
Proposed code:
public static T[] Clone<T>(this T[] array)
{
var copy = new T[array.Length];
Array.Copy(array, 0, copy, 0, array.Length);
return copy;
}
Collections/Segments/Segment.cs
Line 46 in a76be8a
Collections/StringExtensions.cs
Line 6 in 539bb67
s.TrimSingle('"')
. Should be used to fix linksplatform/IO#10.Collections/Arrays/ArrayFiller.cs
Line 6 in a76be8a
Line 128 in 56c3b06
Line 3 in a1c44f1
Peek
and Pop
cannot work correctly when IsEmpty
is equal to true.
Based on linksplatform/Data.Doublets#91
Line 21 in 56c3b06
That means let the user decide when to refresh borders (no automatic refreshing).
Line 5 in a76be8a
Line 24 in a3b1fae
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.