Skip to content

Conversation

@AnnaSasDev
Copy link
Member

No description provided.

…menting `IMdSyntaxNodeSerializer` and add associated `Syntax` regex properties.
…mize multiline parsing logic in `PushMultiLineMatchesToStack`.
…e` and `MdSyntaxTree`, update regex references, and standardize serializer naming.
Improved Markdown regex patterns for superscript, subscript, and underline to handle newlines and nested delimiters correctly. Simplified code block serialization logic to always add newlines for CRLF sequences and removed special handling for trailing newlines. Added test output and failure files for debugging.
…x` pattern, and optimize single-line match stack logic
…agmentStack` and ensure capacity for dynamic resizing.
…place `PushMatchToStack` with direct stack operations, and enhance memory efficiency with `ArrayPool`.
…ing unnecessary `foundMatch` variable and redundant conditions
…xNodePool<T>.Shared.Get()` for memory management consistency and add shared pooling utility
…redundant `Return(IMdSyntaxNode)` method in `MdSyntaxNodePool`
…o `IMdSyntaxNodeModifier` and `MdSyntaxNodeModifier` to streamline API usage and reduce extension overhead
…agmentStack` with new shared pool classes, remove redundant methods, and simplify memory management
…yntax node serializers for improved performance and maintainability
Replaces usage of constants for regex group names with string literals in BlockQuoteSyntaxNodeSerializer and BoldSyntaxNodeSerializer. Also removes the unused 'bold' named group from the bold regex pattern.
… simplify regex patterns in syntax node serializers
…ject structure and reduce maintenance overhead
…ty access for improved clarity and consistency across syntax node serializers
…ate relevant serializers to optimize matching logic
…improving `TriggerCharacters` checks and line-handling logic
…acity logic for better readability and performance
…h `Array.Empty<char>()` for improved clarity and performance
…s for improved readability and maintainability
Switched the benchmark runner in Program.cs to use IndividualMarkdownBenchmarks instead of MarkdownBenchmarks. Removed an unused using directive in InfiniMarkdownEditor.razor. Renamed parameters in IMdSyntaxFragmentStack interface methods for clarity.
… coverage and remove redundant benchmark methods. Extract mocks into dedicated classes for reusability.
…ogic, and helper methods to enhance benchmark coverage and performance.
…lic, and update mock service registrations for consistency and enhanced test coverage.
… 50 and 100 rows to improve benchmark coverage.
…ntStack` methods for clarity and maintainability
… management, and improve cache handling in `MdSyntaxTree` and related components
…`, update core logic, and add corresponding unit tests.
…ctor sibling navigation logic, and fix index calculation bugs.
The benchmark runner now executes IndividualMarkdownBenchmarks instead of MarkdownBenchmarks. This change likely aims to focus benchmarking on individual markdown scenarios for more granular performance analysis.
@AnnaSasDev AnnaSasDev merged commit 0410bbc into core Jan 7, 2026
1 check passed
@AnnaSasDev AnnaSasDev deleted the markdown branch January 7, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants