[Scilab-users] scilab memory usage

Samuel Gougeon sgougeon at free.fr
Sun Jan 5 15:07:58 CET 2014


Le 04/01/2014 23:31, Stephan Schreckenbach a écrit :
> .../...
> Since scilab processes all data as variant, how much memory is 
> required for each constant or variable, being string, integer or double?
> .../...
roughly:
string : 4 bytes per character (UTF-8 encoded)
integer: (u)int8 : 1 byte   (u)int16 : 2 bytes    (u)int32: 4 bytes
double: 8 bytes
boolean: 4 bytes
+ few other bytes to encode the format ( vector, matrix, hypermatrix...)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140105/c510ac61/attachment.htm>


More information about the users mailing list