Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328213 - edc - FormatUtils#getFormattedNullTermString() optimization
Summary: edc - FormatUtils#getFormattedNullTermString() optimization
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 03:25 EDT by Kirk Beitz CLA
Modified: 2019-12-30 18:40 EST (History)
1 user (show)

See Also:


Attachments
memory retrieval optimization for FormatUtils#getFormattedNullTermString() (2.64 KB, patch)
2010-10-20 03:25 EDT, Kirk Beitz CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Beitz CLA 2010-10-20 03:25:32 EDT
Created attachment 181254 [details]
memory retrieval optimization for FormatUtils#getFormattedNullTermString()

FormatUtils#getFormattedNullTermString() currently retrieves 1 byte at a time in its quest to craft a string to display in the variables view.

since the MemoryCache code generally attempts to retrieve 64 bytes at a time, this code has been optimized to approach that figure.

see attached patch for details.
Comment 1 Jonah Graham CLA 2019-12-30 18:40:03 EST
(this is part of a batch change)

The Eclipse CDT EDC (https://wiki.eclipse.org/CDT/cdt-debug-edc) is now obsolete and has not had any active development since 2011. Therefore the still open bugs are being marked as wontfix.

The git repo for the project still exists for posterity at https://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/