search for: loadeddll

Displaying 2 results from an estimated 2 matches for "loadeddll".

Did you mean: loaddll
2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
...e p++; strcpy(DLLname, p); p = strchr(DLLname, '.'); if(p) *p = '\0'; name = malloc(strlen(DLLname)+1); if(name == NULL) { strcpy(DLLerror,"Couldn't allocate space for 'name'"); free(dpath); return 0; } strcpy(name, DLLname); LoadedDLL[CountDLL].path = dpath; LoadedDLL[CountDLL].name = name; LoadedDLL[CountDLL].handle = handle; LoadedDLL[CountDLL].numCSymbols = 0; LoadedDLL[CountDLL].numCallSymbols = 0; LoadedDLL[CountDLL].numFortranSymbols = 0; LoadedDLL[CountDLL].CSymbols = NULL; LoadedDLL[CountDLL]...
2016 Dec 22
0
Is it possible to increase MAX_NUM_DLLS in future R releases?
...d prefetching. Pros: 1) For the average R usage we decrease the memory footprint as we only allocate what is needed. 2) For extreme use cases, we support it, but user beware (as symbol lookup time will scale with number of loaded DLLs) 3) We open up the possibility of more dynamic ordering of the LoadedDLL structure. Essentially we can very cheaply move the most recently "used" DLL to the front of the list. The cons, I think, are small in this situation. We already dynamically allocate strings and arrays in the DllInfo strucutre so those are already not memory-local. Additionally, R is...