Benchmarks for empty array creation added.
This commit is contained in:
1 parent
ba0d15cdcb
commit
64fdf59f90
1 file changed
+6
@@ -4,6 +4,12 @@ namespace Recyclable.Collections.Benchmarks
|
||||
{
|
||||
public partial class RecyclableCollectionsBenchmarks
|
||||
{
|
||||
public void Array_Create()
|
||||
{
|
||||
var list = new long[0];
|
||||
DoNothing(list);
|
||||
}
|
||||
|
||||
public void List_Create()
|
||||
{
|
||||
var list = new List<long>();
|
||||
|
||||
Reference in new issue
Block a user