might be on the order of `+0.4s` or `+0.5s`. i do ...
# development
a
might be on the order of
+0.4s
or
+0.5s
. i do have one question: if i do a conditional inside an
@rule
, like:
Copy code
if glob_match_error_behavior.should_compute_matching_files():
    snapshot_with_match_data = yield Get(SnapshotWithMatchData, PathGlobs, sources_field.path_globs)
    snapshot = snapshot_with_match_data.snapshot
    match_data = snapshot_with_match_data.match_data
  else:
    snapshot = yield Get(Snapshot, PathGlobs, sources_field.path_globs)
    match_data = None
will this do what i expect (which is, register to the scheduler that this
@rule
may request either a
Snapshot
or a
SnapshotWithMatchData
, but only run the single request in the appropriate branch of the if at runtime)? the idea is that getting the match data is more computationally expensive (although if you check the implementation it's really not at all)