Skip to content

Direction Use Static for memory managment #5

@Ajimi

Description

@Ajimi

I think you should use static variables instead of enum's

this will take around 1,112 bytes

public static enum Things {
    THING_1,
    THING_2;
};

Or you can have two static int which will take 128 bytes.

public static final int THING_1 = 1;
public static final int THING_2 = 2;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions