python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why is sys.getsizeof reporting bigger values for smaller lists?
I don't understand how sizeof behaves differently when both the lists are created like literals. I expect the output of the second sizeof to be equal or less than that of the first sizeof, not greater...
Tushar Vazirani
Votes: 0
Answers: 1
C# Marshal.SizeOf - function for measure size of a class
I've tried to write a function that clone object, altrougth they do not derive from the ICloneable interface. For this I copy the part of the memory where the object is stored. That works fine for str...
Finn
Votes: 0
Answers: 1
How to calculate the actual byte size of an Array in nodejs?
I'm doing a bulk indexing in AWS OpenSearch within my node application and it's failing because the chunk size are too big. Below is the error
Request size exceeded 104857600 bytes
So I need to calcu...
ahkam
Votes: 0
Answers: 2
Question about strcpy using char pointer in C
I'm doing some programming with C, and I have a minor problem using strcpy.
char* file="It has something inside"
int size= sizeof(file);
char* file_save = malloc(sizeof(char)*size);
strcpy(f...
lin ki
Votes: 0
Answers: 3