špothicon
Explore posts from serversJCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/18/2025 in #java-help
Converting int array to byte array
yep that was it thanks
14 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/18/2025 in #java-help
Converting int array to byte array
ah
14 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/18/2025 in #java-help
Converting int array to byte array
not sure what i did wrong
14 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/18/2025 in #java-help
Converting int array to byte array
-2 billion is turning into -16 million
14 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/18/2025 in #java-help
Converting int array to byte array

14 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 1/13/2025 in #java-help
vmaVirtualFree
nevermind apparently when i first allocate the chunk it gives me that
5 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/11/2024 in #java-help
Unallocating direct buffer
because it can still use it
18 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/11/2024 in #java-help
Unallocating direct buffer
ah so i dont have to worry about it technically having more memory allocated
18 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
and the savings from adding the boolean array might be even bigger
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
worth
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
yeah that reduced memory usage from 1.54gb to 1.03gb
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
plus it would be faster to not have to use those if statements
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
yeah i can i just wanted something cleaner and less annoying to make
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
if i hover over the red part
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?

29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
warning
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
then shorts for values above that
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
if it has 2-127 values i can use an array of bytes
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
so if the palette only has 1 or 2 values i can use an array of booleans to reference that palette
29 replies
JCHJava Community | Help. Code. Learn.
ā¢Created by špothicon on 12/10/2024 in #java-help
Making an object that can be various types?
with palette compression
29 replies