Compile-time options to manipulate caching behaviour

This commit is contained in:
Thomas Krijnen
2016-03-18 11:21:04 +01:00
parent 614148e5e4
commit 8ecc1269d7
5 changed files with 36 additions and 13 deletions
+3
View File
@@ -283,6 +283,9 @@ namespace IfcGeom {
private:
// Move to the next IfcRepresentation
void _nextShape() {
if (done % 100 == 99) {
// kernel.purge_cache();
}
ifcproducts.reset();
++ representation_iterator;
++ done;