JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

overhead of creating byte arrays

JavaCard Applet Development Related Questions and Answers.
potku2016
Posts: 7
Joined: Tue Sep 06, 2016 2:58 am
Points :78
Contact:

overhead of creating byte arrays

Post by potku2016 » Sat Oct 08, 2016 11:45 pm

I need to create about 300 byte arrays ( new byte {... } ) in my applet. But somebody told me that I should not create that much arrays since there will be overhead of about 4 bytes, associated with per array. Can anybody help me confirm this? thanks

popmun09
Posts: 36
Joined: Tue Feb 16, 2016 9:49 pm
Points :230
Contact:

Re: overhead of creating byte arrays

Post by popmun09 » Sun Oct 09, 2016 3:59 am

There indeed would be an overhead for the array itself.

And this overhead information may be only known by the javacard OS manufacturer, I suspect.

corleoner
Posts: 15
Joined: Fri Dec 11, 2015 2:22 am
Points :92
Contact:

Re: overhead of creating byte arrays

Post by corleoner » Mon Oct 10, 2016 3:54 am

I have seen some platforms that have a 7 bytes overhead for objects.

It's not specified. It really depends on the platform.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 15 guests

JavaCard OS : Disclaimer