Less parsing, allocation & LINQ when splitting strings (#18048)

* Less parsing, allocation & LINQ when splitting strings

* Added unit test verifying refactoring of GetIdsFromPathReversed.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
This commit is contained in:
Henrik
2025-01-31 15:22:57 +01:00
committed by GitHub
parent c64ec51305
commit def9bd096f
7 changed files with 47 additions and 30 deletions

View File

@@ -1,8 +1,7 @@
using Moq;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core.Extensions;
using Umbraco.Cms.Core.Models.Entities;
using Range = System.Range;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core.Extensions;