search for: vect_occup

Displaying 4 results from an estimated 4 matches for "vect_occup".

2015 Jan 18
2
default min-v/nsize parameters
...g_R_NSize * R_MinFreeFrac); R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac); R_size_t NNeeded = R_NodesInUse + R_MinNFree; R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize + size_needed + R_MinVFree; double node_occup = ((double) NNeeded) / R_NSize; double vect_occup = ((double) VNeeded) / R_VSize; if (node_occup > R_NGrowFrac) { R_size_t change = (R_size_t)(R_NGrowIncrMin + R_NGrowIncrFrac * R_NSize); if (R_MaxNSize >= R_NSize + change) R_NSize += change; } else if (node_occup < R_NShrinkFrac) { R_NSize...
2015 Jan 20
1
default min-v/nsize parameters
...ee = (R_size_t)(orig_R_VSize * R_MinFreeFrac); >> R_size_t NNeeded = R_NodesInUse + R_MinNFree; >> R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize + >> size_needed + R_MinVFree; >> double node_occup = ((double) NNeeded) / R_NSize; >> double vect_occup = ((double) VNeeded) / R_VSize; >> >> if (node_occup > R_NGrowFrac) { >> R_size_t change = (R_size_t)(R_NGrowIncrMin + R_NGrowIncrFrac >> * R_NSize); >> if (R_MaxNSize >= R_NSize + change) >> R_NSize += change; >> } &g...
2015 Jan 19
0
default min-v/nsize parameters
...t; R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac); > R_size_t NNeeded = R_NodesInUse + R_MinNFree; > R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize + > size_needed + R_MinVFree; > double node_occup = ((double) NNeeded) / R_NSize; > double vect_occup = ((double) VNeeded) / R_VSize; > > if (node_occup > R_NGrowFrac) { > R_size_t change = (R_size_t)(R_NGrowIncrMin + R_NGrowIncrFrac > * R_NSize); > if (R_MaxNSize >= R_NSize + change) > R_NSize += change; > } > else if (node_occup...
2015 Jan 15
2
default min-v/nsize parameters
Just wanted to start a discussion on whether R could ship with more appropriate GC parameters. Right now, loading the recommended package Matrix leads to: > library(Matrix) > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 1076796 57.6 1368491 73.1 1198505 64.1 Vcells 1671329 12.8 2685683 20.5 1932418 14.8 Results may vary, but here R needed 64MB of N cells and 15MB