-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
SP: 8emmaRelated to Emma componentRelated to Emma componentenhancementNew feature or requestNew feature or request
Description
Feature Description
Here:
Emma/Emma/emma_libs/memoryManager.py
Line 254 in 87c3402
| for plottedElement in plottedElements: |
for plottedElement in plottedElements:
if element[Element.addressStart] < plottedElement[PlottedElement.addressEnd] and yAxe <= plottedElement[PlottedElement.yAxe]:Do the following:
- Sort (
bisect.insortpackage function might be helpful) by end address - Iterate over elements (backwards) and check if end address < start address of element to be added
- If there is a free space insert the new element otherwise add to a new y level
Like this free space from upper regions will be used (worst cast would be stairs).
Consider also markers for indicating small overlaps (a few bytes).
Metadata
Metadata
Assignees
Labels
SP: 8emmaRelated to Emma componentRelated to Emma componentenhancementNew feature or requestNew feature or request