Depreciate/Hide or Remove FindFirstDescendant

For a while now, FindFirstDescendant has been a method for Instance but it has never been enabled ever since it became “public”., this misled many people into using it only for it to error.

<Instance>:FindFirstChild(name, boolean) has been a replacement for FindFirstDescendant and works exactly like its name implies.

Either depreciate it (with a notice telling users to use <Instance>:FindFirstChild(name, boolean) instead or remove it, many “not enabled” methods are hidden expect for this one.

10 Likes

Nah it should be fixed since theoretically it is tiny bit more optimized (requiring less bytecode instructions)
I think instead 2nd arg in findfirstchild should be depeacated instead

This optimization does not matter at all, and will not affect performance.
But they should still fix it since FindFirstDescendant makes the code more readable than having a FindFirstChild with a boolean paramater

2 Likes

Matters.

It will.

True

Summary

This text will be hidden

Yeah no it doesn’t the cpu can run billions of instructions per second a single op code will not make any significat difference.

1 Like

significant*

You just contradicted yourself.

First you said it “will not affect performance.”
Now you’re saying there isn’t a significant difference.

Pick one.

It won’t affect performance since it’s less than a microsecond in change, and I will not be continuing this discussion because it’s going off-topic.

You just described the meaning of affecting performance.
It will absolutely affect performance for games that utilize NPCs or large open-world games.