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-11-04 14:09:03 +01:00
2024-09-25 15:34:14 +02:00
2025-01-08 12:39:34 +01:00
2025-01-08 12:39:34 +01:00
2024-03-25 16:56:13 +01:00
2024-01-16 07:47:43 +01:00
2024-04-09 09:06:48 +02:00
2024-01-24 08:36:55 +01:00
2022-06-07 15:28:38 +02:00
2024-04-11 10:55:21 +02:00
2024-01-22 08:20:45 +01:00
2024-05-17 14:35:18 +02:00
2024-01-30 13:12:08 +01:00
2024-03-11 13:15:25 +01:00
2024-11-07 12:20:22 +01:00
2024-11-11 12:00:20 +01:00
2024-02-29 15:11:06 +01:00
2025-01-20 11:41:13 +01:00
2023-05-25 10:38:44 +02:00
2025-01-10 09:36:44 +01:00
2022-06-07 15:28:38 +02:00
2023-03-16 08:25:15 +01:00
2024-10-31 10:04:54 +01:00
2022-06-07 15:28:38 +02:00
2023-02-23 11:32:24 +01:00
2022-06-07 15:28:38 +02:00
2024-11-11 12:52:11 +01:00
2022-06-07 15:28:38 +02:00
2024-11-11 12:52:11 +01:00
2023-08-28 12:14:16 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-11-13 09:27:29 +01:00
2024-11-13 09:27:29 +01:00
2024-09-27 09:12:19 +02:00
2022-06-07 15:28:38 +02:00
2024-02-27 09:56:57 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-03-22 12:11:38 +01:00
2024-10-01 15:03:02 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2025-01-08 12:39:34 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-09-19 16:37:24 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-02-22 09:11:31 +01:00
2022-06-07 15:28:38 +02:00
2023-08-17 12:28:16 +02:00
2023-08-17 12:28:16 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-04-08 11:17:32 +02:00
2023-01-06 08:45:06 +01:00
2024-04-12 10:58:26 +02:00
2022-08-25 15:31:36 +02:00
2023-10-31 10:06:14 +01:00
2024-04-09 09:06:48 +02:00
2023-07-18 10:53:14 +02:00
2023-07-18 10:53:14 +02:00
2022-06-07 15:28:38 +02:00
2025-01-31 10:31:06 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-02-20 11:08:22 +01:00
2024-02-29 15:11:06 +01:00
2022-09-19 16:37:24 +02:00
2024-02-22 09:11:31 +01:00
2023-08-17 12:28:16 +02:00
2023-01-06 08:45:06 +01:00
2024-10-31 10:04:54 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-07-21 10:59:47 +02:00
2023-02-14 10:35:45 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-07-18 10:53:14 +02:00
2023-01-09 14:16:16 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-09-06 20:08:17 +02:00
2024-04-11 10:55:21 +02:00
2024-04-11 10:55:21 +02:00
2022-06-07 15:28:38 +02:00
2024-11-11 12:00:20 +01:00
2024-02-29 15:11:06 +01:00
2024-09-30 07:01:18 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-02-22 09:11:31 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-01-11 14:40:41 +01:00
2022-06-07 15:28:38 +02:00
2023-11-21 14:38:47 +01:00
2022-06-07 15:28:38 +02:00
2023-07-21 10:59:47 +02:00
2024-03-27 16:13:09 +01:00
2022-06-07 15:28:38 +02:00
2024-02-14 15:13:56 +01:00
2023-01-09 14:16:16 +01:00
2023-09-06 20:08:17 +02:00
2022-06-07 15:28:38 +02:00
2024-03-22 12:11:38 +01:00
2024-11-27 07:33:13 +01:00
2024-04-11 10:55:21 +02:00
2024-04-11 10:55:21 +02:00
2022-06-07 15:28:38 +02:00
2024-03-22 12:11:38 +01:00
2024-02-05 06:42:07 +01:00
2022-06-07 15:28:38 +02:00
2024-02-27 21:57:02 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-05-25 10:38:44 +02:00
2023-05-25 11:27:37 +02:00
2024-01-02 13:53:24 +01:00
2024-01-02 13:53:24 +01:00
2024-02-29 15:11:06 +01:00
2023-04-26 13:47:47 +02:00
2024-01-22 08:20:45 +01:00
2023-04-26 13:47:47 +02:00
2023-04-04 15:41:12 +02:00
2024-09-30 07:01:18 +02:00
2025-01-20 11:41:13 +01:00
2023-03-28 10:08:48 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-12-21 14:29:59 +01:00
2022-08-25 15:31:36 +02:00
2023-03-28 10:08:48 +02:00
2022-08-25 15:31:36 +02:00
2023-07-05 14:56:51 +02:00
2023-07-05 14:56:51 +02:00
2022-06-07 15:28:38 +02:00
2024-09-27 09:12:19 +02:00
2022-06-07 15:28:38 +02:00
2023-09-06 20:08:17 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-12-09 01:00:07 +01:00
2023-02-21 15:20:34 +01:00
2023-03-01 08:51:17 +01:00
2024-03-13 15:01:07 +01:00
2022-06-07 15:28:38 +02:00
2024-03-07 13:21:48 +01:00
2022-06-07 15:28:38 +02:00
2023-04-26 13:47:47 +02:00
2024-01-22 08:20:45 +01:00
2023-04-26 13:47:47 +02:00
2024-04-18 12:20:26 +02:00
2023-12-22 10:21:11 +01:00
2022-06-07 15:28:38 +02:00
2024-02-22 09:11:31 +01:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-04-26 13:47:47 +02:00
2022-06-07 15:28:38 +02:00
2024-01-22 08:20:45 +01:00
2023-04-26 13:47:47 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2023-01-11 14:40:41 +01:00
2022-06-07 15:28:38 +02:00
2024-01-22 08:20:45 +01:00
2024-01-22 08:20:45 +01:00
2024-01-22 08:20:45 +01:00
2022-06-07 15:28:38 +02:00
2023-02-14 10:35:45 +01:00
2024-04-08 14:55:46 +02:00
2022-06-07 15:28:38 +02:00
2022-06-07 15:28:38 +02:00
2024-09-03 10:43:09 +02:00
2025-01-31 10:31:06 +01:00
2024-05-17 09:23:56 +02:00
2023-08-28 12:14:16 +02:00
2023-03-29 08:14:47 +02:00
2023-03-29 08:14:47 +02:00
2023-10-31 10:07:30 +01:00
2024-03-07 13:21:48 +01:00
2022-06-07 15:28:38 +02:00
2024-05-03 08:47:10 +02:00
2022-06-07 15:28:38 +02:00
2024-01-23 18:07:21 +01:00
2023-11-21 14:38:47 +01:00
2024-05-22 12:05:41 +02:00
2023-11-13 15:49:02 +01:00