diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-12-29 17:35:27 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-12-30 17:16:47 -0500 |
| commit | 2448131059638409902821451115872036230328 (patch) | |
| tree | 1cb0ea5520d4350228a4f5c92bbfcfbc2699f36d /ui | |
| parent | 4e2d29352e8c24a2327300c5aeb71bad22a8e93a (diff) | |
Perf: Make canMakeString way faster
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/linearview.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
