When defining a Signal in Django, should you specify qualitative temporal information such as pre and post in the name of the Signal, or as an argument? If as an argument, what range of values should you use?
For instance, say I want to define Signals before and after an operation X, one way is:
pre_x_signal = Signal(providing_args = ['foo', ])
post_x_signal = Signal(providing_args = ['foo', ])
and the alternative is:
x_signal = Signal(providing_args = ['foo', 'stage', ])
where stage
takes values in some range, e.g. ['pre', 'post', ]
Depending on the choice, different lookup logic will be followed both by Django and by your code, so how will this impact performance?