MacSymbolicator icon indicating copy to clipboard operation
MacSymbolicator copied to clipboard

Fix Binary Images regex to avoid scanning entire document

Open czlitony opened this issue 6 months ago • 0 comments

Problem

Opening the sample file becomes significantly slow when the Full Report section is large.

Root Cause

The regular expression used to parse the Binary Images section is greedy, causing excessive backtracking and poor performance when processing large Full Report blocks.

Fix

Replaced the greedy regex with a non-greedy variant to improve the efficiency of parsing the Binary Images section. This change reduces unnecessary processing and improves file loading time, especially for large reports.

czlitony avatar Jun 20 '25 15:06 czlitony