Does it make any difference?
Quickness of the evaluation, memory used...

What is the suggested use?

Is loading all the fields (via using "Entity is of bundle") in the Rules data selector detrimental in any way?
Or maybe it's even faster/better than checking for (loading) the single field ("Entity has field")?

Thank you

Comments

kopeboy created an issue. See original summary.

kopeboy’s picture

I will start listing some PROs & Cons:

Entity has field:
PRO: could be more robust (future proof) since I can use the same field on different bundles without needing to update the Rules
CON: if I will need to act on more fields I will have to add every one

TR’s picture

Status: Active » Closed (outdated)

Well the best way to find out is to test it yourself. I doubt the actual condition has much effect after all the overhead of running a Rule, but as a guideline I would go with whichever way had the fewest conditions/actions.