From 2448131059638409902821451115872036230328 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 29 Dec 2025 17:35:27 -0500 Subject: Perf: Make canMakeString way faster --- ui/linearview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/linearview.h b/ui/linearview.h index b4fc2402..0067a3e1 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -414,7 +414,7 @@ private Q_SLOTS: //! UTF-32 string, respectively. //! //! Returns the length of the string in bytes, NOT the number of characters. - size_t getStringLength(uint64_t startAddr, size_t charSize = 1); + size_t getStringLength(uint64_t startAddr, size_t charSize = 1, size_t minRequired = MAX_STRING_TYPE_LENGTH); void setInstructionHighlight(BNHighlightColor color); void setBlockHighlight(BNHighlightColor color); -- cgit v1.3.1