Home > Back-end >  Deal with large data of dynamic libraries how design?
Deal with large data of dynamic libraries how design?

Time:12-23

I understand:
 
Void handle (double * data, int size)


Due to large data, need analysis within the heap,

I think should be the caller is responsible for the management of memory, send the address to library function processing data, the caller yourself free memory

Should it?

CodePudding user response:

Generally follow the principle of "whoever application, release,",
Can the caller is responsible for the application and release, can also be the caller is responsible for the application for and release,

CodePudding user response:

That is, can?
  • Related