XbNnX_507 Active Member Licensed User Longtime User May 5, 2016 #1 Hi, this question is for Erel and those who know the internal functionality of b4j and b4a.. I would like to know the benefits of using a type structure over a Standard class in b4a b4j. Given the fact that in almost every sample code Erel has posted he has made use of them. Over classes. I have asked other experienced programmers and they told me structures should be avoid because they affect performance and memory usage. Maybe some advice of when to use and when no to use structures in ( b4j b4a) would be a good idea for those who are noobs around here like me. Sorry my english isn't very good.
Hi, this question is for Erel and those who know the internal functionality of b4j and b4a.. I would like to know the benefits of using a type structure over a Standard class in b4a b4j. Given the fact that in almost every sample code Erel has posted he has made use of them. Over classes. I have asked other experienced programmers and they told me structures should be avoid because they affect performance and memory usage. Maybe some advice of when to use and when no to use structures in ( b4j b4a) would be a good idea for those who are noobs around here like me. Sorry my english isn't very good.
Erel B4X founder Staff member Licensed User Longtime User May 6, 2016 #2 The performance is similar. Types are useful as data structures. Types can also be serialized with B4XSerializator. Upvote 0
The performance is similar. Types are useful as data structures. Types can also be serialized with B4XSerializator.