CLOVIS
01/09/2021, 8:43 PMephemient
01/09/2021, 10:03 PMDominaezzz
01/09/2021, 10:11 PMDominaezzz
01/09/2021, 10:11 PMnfrankel
01/09/2021, 11:05 PMephemient
01/09/2021, 11:07 PMHanno
01/09/2021, 11:12 PMephemient
01/09/2021, 11:33 PMHanno
01/10/2021, 10:11 AMYoussef Shoaib [MOD]
01/10/2021, 8:03 PMmemberStructs
list causes the compiler to automatically box all of your properties, which probably adds a memory overhead. You could conceivably remove the memberStructs
and remove the lazy sumBy and then on delegate creation you could just increase the sizeInBytes
eagerly and finally your delegates would be nothing more than just the memory offsets that you need to access that specific piece of data and that's it!Youssef Shoaib [MOD]
01/10/2021, 8:06 PMHanno
01/10/2021, 8:24 PMHanno
01/10/2021, 8:24 PMHanno
01/10/2021, 8:25 PMYoussef Shoaib [MOD]
01/11/2021, 2:28 AMEnumProperty
inline by making the compiler carry the type information in a reified
manner instead of storing it as a Class
object and so then the EnumProperty
class would only need to store its offset and that's it. It's less complicated in practice than I make it sound like lol). I've also thought about the possibility of making Array
implement Java's Collection
interface so I might make a pull request of that too soon.