Skip to content

[Feature request] Improve XML parsing performance #16175

@softmgr

Description

@softmgr

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

@donho Notepad++ currently uses TinyXML as its XML parsing component, but it has not been updated since 2015. Notepad++ stores its configuration files, language pack files, auto-completion keywords, and function lists using XML documents. However, XML parsing is significantly slower than INI file parsing, and its performance directly affects the software’s startup and runtime speed. Therefore, updating the XML parsing engine is meaningful.

After researching, I found that the following open-source XML parsers can improve performance and are suitable for Notepad++:
• tinyxml2:
https://github.com/leethomason/tinyxml2
• pugixml:
https://github.com/zeux/pugixml

I recommend evaluating and updating to a higher-performance XML parsing engine.

Describe the solution you'd like.

I recommend evaluating and updating to a higher-performance XML parsing engine.

Debug Information

Notepad++ v8.7.5   (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
DirectWrite : OFF
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5371
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions