PetScan::extract_for: only compute is_simple once
commite6b6c5fc32e8f49da465b3afa1da680ddf0b1d7e
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 19 Jan 2012 13:43:42 +0000 (19 14:43 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 6 Mar 2012 11:55:13 +0000 (6 12:55 +0100)
treec3702c95d9c850aa2d6e162044f861fdb389bb72
parent86644062c0b428442835c9869f6206e3388568f3
PetScan::extract_for: only compute is_simple once

Now that simplicity is no longer explicitly used to decide
whether a virtual iterator should be introduced, we can postpone
the test for simplicity until after the introduction of the virtual
iterator.  In particular, we now only need to perform the test once.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc