Skip to content

Commit

Permalink
add more temp objects
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Feb 27, 2024
1 parent 5d714ec commit 9d29cea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jParser/base/src/main/java/idl/helper/IDLFloat.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ public class IDLFloat extends IDLFloatArray {

public static IDLFloat TMP_1 = new IDLFloat();
public static IDLFloat TMP_2 = new IDLFloat();
public static IDLFloat TMP_3 = new IDLFloat();
public static IDLFloat TMP_4 = new IDLFloat();

public static void disposeTEMP() {
TMP_1.dispose();
TMP_2.dispose();
TMP_3.dispose();
TMP_4.dispose();
}

public IDLFloat() {
Expand Down
4 changes: 4 additions & 0 deletions jParser/base/src/main/java/idl/helper/IDLInt.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ public class IDLInt extends IDLIntArray {

public static IDLInt TMP_1 = new IDLInt();
public static IDLInt TMP_2 = new IDLInt();
public static IDLInt TMP_3 = new IDLInt();
public static IDLInt TMP_4 = new IDLInt();

public static void disposeTEMP() {
TMP_1.dispose();
TMP_2.dispose();
TMP_3.dispose();
TMP_4.dispose();
}

public IDLInt() {
Expand Down

0 comments on commit 9d29cea

Please sign in to comment.