Jason Nelson
|
7f42a8d60c
|
Reduce Allocations (#821)
* Introduce ValueStringBuilder
* Make NumericTokenizer and PlanTextTokenizer thread-safe
* Replace ListPool with ArrayPoolBufferWriter
* Seal ITokenizer classes
* Eliminate array allocation in Type1ArrayTokenizer
* Eliminate array allocation in AcroFormFactory
* Eliminate StringBuilder allocation in Page.GetText
* Optimize PdfSubpath.ToLines
* Eliminate various allocations when parsing CompactFontFormat
* Remove unused FromOctalInt helper
* Ensure Pdf.Content is not null
* Write ASCII values directly to stream (avoiding allocations)
* Avoid encoding additional ASCII values
* Eliminate allocations in TokenWriter.WriteName
* Eliminate allocation in TokenWriter.WriteNumber
* Add System.Memory reference to Fonts
|
2024-04-28 18:55:58 +01:00 |
|