mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
473 B
12 lines
473 B
namespace MemoryPools.Collections.Linq
|
|
{
|
|
public static partial class PoolingEnumerable
|
|
{
|
|
/// <summary>
|
|
/// Returns all elements from <paramref name="source"/> and all -- from <paramref name="second"/>. Complexity = O(N+M)
|
|
/// </summary>
|
|
public static IPoolingEnumerable<T> Concat<T>(this IPoolingEnumerable<T> source, IPoolingEnumerable<T> second) =>
|
|
Pool<ConcatExprEnumerable<T>>.Get().Init(source, second);
|
|
}
|
|
}
|