From e3ca5b4f8740c8e2d6b3e6943b8b727431228709 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sun, 4 Jun 2023 16:46:26 +0200 Subject: [PATCH] Tiny cleanup --- Recyclable.Collections/RecyclableLongList.IndexOfHelpers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Recyclable.Collections/RecyclableLongList.IndexOfHelpers.cs b/Recyclable.Collections/RecyclableLongList.IndexOfHelpers.cs index 62d367b..1092d51 100644 --- a/Recyclable.Collections/RecyclableLongList.IndexOfHelpers.cs +++ b/Recyclable.Collections/RecyclableLongList.IndexOfHelpers.cs @@ -146,7 +146,7 @@ namespace Recyclable.Collections // Task.Factory.StartNew(() => context.AddParticipant(); var startingBlock = blockIndex; - Task.Run(() => IndexOfIn4ConsecutiveBlocks(context, list, startingBlock, item)); + _ = Task.Run(() => IndexOfIn4ConsecutiveBlocks(context, list, startingBlock, item)); // & WAS SLOWER // ScheduleIndexOfTask(context, list, blockIndex, item); @@ -167,7 +167,7 @@ namespace Recyclable.Collections // Task.Factory.StartNew(() => var startingBlock = blockIndex; context.AddParticipant(); - Task.Run(() => IndexOfIn1Block(context, list, startingBlock, item)); + _ = Task.Run(() => IndexOfIn1Block(context, list, startingBlock, item)); // & WAS SLOWER // ScheduleIndexOfTaskSingle(context, list, blockIndex, item);