You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an eager expansion would lead to a single expansion of bar while the normal expansion will lead to two expansions of bar .
However, the query system that was described in the previous section seems to indicate that the expansion would consist in a single query call with a cached result, so that would be very cheap.
an eager expansion would lead to expending bar, while a normal expansion would avoid this expansion; showing that there are also case where the eager expansion do more work.
My best hypothesis, to be honest, right now, is that the sentence should be read with eager and lazy reversed
The text was updated successfully, but these errors were encountered:
In https://rustc-dev-guide.rust-lang.org/macro-expansion.html I fear the sentence
is not clear. And I'd suggest, maybe, to give an example in order to clarify it.
I could imagine that you mean that, in the following example
an eager expansion would lead to a single expansion of
bar
while the normal expansion will lead to two expansions ofbar
.However, the query system that was described in the previous section seems to indicate that the expansion would consist in a single query call with a cached result, so that would be very cheap.
Also, if we consider
an eager expansion would lead to expending bar, while a normal expansion would avoid this expansion; showing that there are also case where the eager expansion do more work.
My best hypothesis, to be honest, right now, is that the sentence should be read with eager and lazy reversed
The text was updated successfully, but these errors were encountered: