Skip to content

Commit ec28712

Browse files
Refactors required attribute parser for efficiency
Refactors the `RequiredAttributeParser` to use a `ref struct` based parser, resulting in a more efficient implementation. This change avoids unnecessary string allocations and copies by operating directly on a `ReadOnlySpan`. It also adds a `Length` property to `MemoryBuilder` to allow resetting the length without reallocating.
1 parent 9731afa commit ec28712

File tree

2 files changed

+277
-194
lines changed

2 files changed

+277
-194
lines changed

0 commit comments

Comments
 (0)