Document that SkyFunction$Environment#registerDependencies is less performant when used with EvaluationVersionBehavior#MAX_CHILD_VERSIONS.
@@ -325,6 +325,11 @@ public interface SkyFunction {
*
* <p>WARNING: Dependencies here MUST be done! Only use this function if you know what you're
* doing.
+ *
+ * <p>If the {@link EvaluationVersionBehavior} is {@link
+ * EvaluationVersionBehavior#MAX_CHILD_VERSIONS} then this method may fall back to just doing a
+ * {@link #getValues} call internally. Thus, any graph evaluations that require this method to
+ * be performant <i>must</i> run with {@link EvaluationVersionBehavior#GRAPH_VERSION}.
*/
default void registerDependencies(Iterable<SkyKey> keys) throws InterruptedException {
getValues(keys);
