Dmitry Vyukov a6d5f3ad13 prog: prune recursion for resourceCentric/createResource
Currently we only prune recursion for createResource.
But createResource can still recurse into resourceCentric,
this can produce huge programs and may be very slow
(esp. if we already in createResource doing failing attempts).

With this change:
$ CI=yes go test -run TestMutateCorpus -count=2 ./prog
passes in ~3 seconds. If I comment out inGenerateResource
logic, it times out after 100 seconds. So this can indeed
have significant effect on generation/mutation performance.
2020-08-23 11:46:14 +02:00
..
2020-05-04 20:56:20 +02:00
2020-07-12 08:22:44 +02:00
2020-05-04 20:56:20 +02:00
2020-05-05 14:01:52 +02:00
2020-06-23 16:18:44 +02:00
2020-05-02 12:16:06 +02:00
2019-11-26 14:29:58 +01:00
2020-06-23 16:18:44 +02:00
2020-05-08 14:02:16 +02:00
2020-07-12 08:22:44 +02:00
2020-06-25 18:35:04 +02:00
2020-07-12 08:22:44 +02:00
2020-07-12 08:22:44 +02:00
2018-05-04 20:07:32 +02:00
2018-05-04 20:07:32 +02:00
2019-07-30 19:33:02 +02:00
2020-07-12 08:22:44 +02:00
2018-05-04 20:07:32 +02:00
2020-05-18 11:34:42 +02:00
2020-07-12 08:22:44 +02:00
2020-05-03 12:55:42 +02:00
2020-05-04 20:56:20 +02:00