Files
Umbraco-CMS/src/Umbraco.Core/Models
Henrik c64ec51305 Nonbreaking performance tweaks (#17106)
* Avoid doing multiple lookups in dictionaries, avoid doing string interpolation & adding single char strings to a StringBuilder, made some private/internal classes & some private methods static when possible, use FrozenSet for InvalidFileNameChars

* Avoid some array + list allocations & async methods and made some private methods static

* Avoid double lookup of XML attribute (and double null check) & avoid an unneeded lookup before writing to a dictionary

* Avoid some double lookups

# Conflicts:
#	src/Umbraco.Core/Services/LocalizedTextService.cs

* Avoid double lookups

# Conflicts:
#	src/Umbraco.Core/Services/LocalizedTextService.cs

* Avoid double lookups

* List AsSpan, also to trigger a new build that hopefully goes through

* Avoid concatting strings when using writer & more static

* Updated CollectionBenchmarks to show that ToArray isn't always the fastest & Lists can be iterated nearly as fast as arrays (and that ToList is nearly as fast as ToArray on IReadOnlyLists in .NET 8)

* Fix rebase

* Use explicit types ❤️ (I thought it was the other way round...)

# Conflicts:
#	src/Umbraco.Core/Services/LocalizedTextService.cs

* Reduce number of lines in HtmlStringUtilities.Truncate to pass code quality analysis

* Avoid double lookups & allocating empty arrays

* Use native List Find instead of LINQ
2025-01-31 10:31:06 +01:00
..
2024-02-29 15:11:06 +01:00
2024-11-13 09:27:29 +01:00
2024-11-13 09:27:29 +01:00
2022-08-25 15:31:36 +02:00
2024-02-29 15:11:06 +01:00
2023-07-21 10:59:47 +02:00
2024-02-29 15:11:06 +01:00
2024-09-30 07:01:18 +02:00
2023-07-21 10:59:47 +02:00
2024-03-27 16:13:09 +01:00
2023-09-06 20:08:17 +02:00
2024-02-29 15:11:06 +01:00
2024-09-30 07:01:18 +02:00
2022-08-25 15:31:36 +02:00
2022-08-25 15:31:36 +02:00
2023-09-06 20:08:17 +02:00
2024-05-22 12:05:41 +02:00