Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328213

Summary: edc - FormatUtils#getFormattedNullTermString() optimization
Product: [Tools] CDT Reporter: Kirk Beitz <kirk.beitz>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED WONTFIX QA Contact: Ken Ryall <ken.ryall>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: 7.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
memory retrieval optimization for FormatUtils#getFormattedNullTermString() none

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/