Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip parsing item XML if identifier is already present in database #3

Open
ryanashcraft opened this issue May 16, 2011 · 0 comments
Open

Comments

@ryanashcraft
Copy link
Collaborator

Description of Issue

Parsing needs to be optimized so that if an item will ultimately not be added to the database, then it won't parse through all of the item's inner elements.

Suggestion

When parsing and started parsing an item XML element, use regular expression search to get Item identifier. Go ahead and determine if that identifier is already in database. If so, then skip parsing that item and set the corresponding copy of Item's keep to YES.

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

No branches or pull requests

1 participant