Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDscript has no best practices Page #10331

Open
XxDavid123xX opened this issue Nov 28, 2024 · 1 comment
Open

GDscript has no best practices Page #10331

XxDavid123xX opened this issue Nov 28, 2024 · 1 comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation content:new page Issues and PRs related to creation of new documentation pages for new or undocumented features enhancement needs work Needs additional work by the original author, someone else or in another repo.

Comments

@XxDavid123xX
Copy link

XxDavid123xX commented Nov 28, 2024

Your Godot version:
4.3
Issue description:
There's much people that has a problem with Optimization, so a page with basic tricks to Optimize the code.
URL to the documentation page (if already existing):
There's no one of course.

@tetrapod00
Copy link
Contributor

Yeah, this may or may not already be covered. I think GDScript in particular doesn't currently have an optimization page because most of the slow things you can do in Godot are not really slow because of GDScript specifically. They are slow because you are using a slow algorithm that is slow in every language, or you are doing a lot of calls to rendering, physics, navigation, etc.

We do have several Best Practices pages, including:

  • one that actually does touch on why GDScript in particular can be slow
  • one that describes tradeoffs of a GDScript-specific functionality

We also have several pages on Performance, which apply to mulitple languages including GDScript.

If you're looking for a best practices/performance page on GDScript in general, I'm not opposed to the idea. But the content you're looking for may already be covered in one of these places. If you take a look through those and don't find what you're looking for, a good starting place for a new page would be to collect a list of tricks you'd like documented somewhere, or at least make a list of questions that you would like to be answered by a new page.

@tetrapod00 tetrapod00 added content:new page Issues and PRs related to creation of new documentation pages for new or undocumented features needs work Needs additional work by the original author, someone else or in another repo. area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation content:new page Issues and PRs related to creation of new documentation pages for new or undocumented features enhancement needs work Needs additional work by the original author, someone else or in another repo.
Projects
None yet
Development

No branches or pull requests

2 participants