From c5cde9c973976564f0af9df038bed4b67c58c0e4 Mon Sep 17 00:00:00 2001 From: YYBartT Date: Tue, 23 Jan 2024 15:10:46 +0100 Subject: [PATCH] [Feature]String Literal Hash Optimization YoYoGames/GameMaker-Bugs#2804 YoYoGames/GameMaker-Bugs#2821 * Added a note under "Struct Functions" on the Variable Functions page --- .../GML_Reference/Variable_Functions/Variable_Functions.htm | 1 + 1 file changed, 1 insertion(+) diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Variable_Functions/Variable_Functions.htm b/Manual/contents/GameMaker_Language/GML_Reference/Variable_Functions/Variable_Functions.htm index 86dc96f0c..196e55b5d 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Variable_Functions/Variable_Functions.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Variable_Functions/Variable_Functions.htm @@ -42,6 +42,7 @@

Method Functions

  • method_call
  • Struct Functions

    +

     As an optimisation, the compiler replaces struct member names in these functions with their hash value when it detects that the name is a constant at compile-time.

    The following functions are for use with structs: