assert(res);
//cout << "*** THE TEX DOCUMENT" << endl;
//style.save(doc.document(), stdout);
- std::cout << "*** THE CURRENT DOCUMENT:" << std::endl;
+ //std::cout << "*** THE CURRENT DOCUMENT:" << std::endl;
//if (result) style.save(result, stdout);
- std::cout << "*** THE NEW DOCUMENT:" << std::endl;
+ //std::cout << "*** THE NEW DOCUMENT:" << std::endl;
//style.save(res, stdout);
- std::cout << "*** THE DIFF:" << std::endl;
+ //std::cout << "*** THE DIFF:" << std::endl;
DOMX::Diff diff = DOMX::Diff::diff(result, res);
//style.save(diff.document(), stdout);
long t2 = getTimer();
diff.patch();
long t3 = getTimer();
- std::cout << "=== APPLY = " << (t1 - t0) / 1000 << " DIFF = " << (t2 - t1) / 1000 << " PATCH = " << (t3 - t2) / 1000 << std::endl;
+ //std::cout << "=== APPLY = " << (t1 - t0) / 1000 << " DIFF = " << (t2 - t1) / 1000 << " PATCH = " << (t3 - t2) / 1000 << std::endl;
doc.clearDirty();
}