seantis / seantis.dir.events

Events Directory for seantis.dir.base
1 stars 2 forks source link

Optimize import: Avoid unnecessary parsing #27

Closed msom closed 10 years ago

msom commented 10 years ago

Only parse xml/json if the content has changed (hash?), raise a NoImportDataException else to prevent unnecessary work. The fetch function probably needs an additional argument to override this new behavior in case of a limited import, reimport, or auto-remove.

msom commented 10 years ago

Probably not so useful because auto-remove option will be normally used.