Skip to content

Conversation

@JeanCarlosRothenburg
Copy link

Refactor isCheckedOut to use entrySet instead of keySet when iterating the Map.

This avoids unnecessary get() calls for each key, improving performance
while keeping the method behavior unchanged.

@dragonmacher
Copy link
Collaborator

The change to using an entry set may be a minor improvement, but is one not likely to be noticeable when running the application.

There are other commits in this PR the correctness of which I cannot validate. If the change of name usage in the XCoffSymbol fixes a bug, then that is the more important part of this PR.

import org.jdom.input.SAXBuilder;
import org.jdom.output.XMLOutputter;

import ghidra.formats.gfilesystem.LocalFileSystem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leads to a build error and is not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants