Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about RAM usage, including optimizing memory use, avoiding and fixing leaks and releasing unused memory.
3
votes
Accepted
Paging RAM in case of memory shortage issue
To illustrate my comment, the following function allows the user to store definitions on the hard disk, clearing them from RAM, and retrieve them on-demand.
To keep things orderly, I first create a d …
5
votes
How to calcuate the sum of 1/x, where x is an integer not containing the digit 9 and 10,000,...
With the definitions
a = 10000000;
b = 88888888;
createLookUp[nn_] :=
Boole[! MemberQ[IntegerDigits[#], 9]] & /@ Range[nn]
unless9Rec = Function[If[! MemberQ[IntegerDigits[#], 9], 1/#, 0]]
cfu = …
1
vote
Memory leak issues
a3_)]] := expand[a1 ** a2] + expand[a1 ** a3]
expand[Alternatives[NonCommutativeMultiply, CenterDot][(a1_ + a2_),
a3_]] := expand[a1 ** a3] + expand[a2 ** a3]
This fixes only minor issues with memory …
33
votes
Accepted
DeleteDuplicatesBy is not performing as I'd hoped. Am I missing something?
The behavior described here is the same from 10.0.0 up to at least 10.3.
Summary
We can look at the code of DeleteDuplicatesBy and it turns out it uses GroupBy. The test cases proposed by Mr.Wizard …