Mr.Wizard
Reputation
165,286
428/400 score
 4h comment Why is Random faster than RandomReal? +1 for writing up the points made in the comments as a proper answer. A caveats however: Table compiles and is much faster than Do which is what @wolfies actually cares about (single draws). Also Method -> "Legacy" would probably be a better comparison. 9h awarded Necromancer 15h comment Plotting function with unique symbols @MichaelE2 Yes, those are good, perhaps better, originals. And I found another related question and added it to my comment above. This question seems headed toward closure as "in the documentation" at this point; hopefully the links are useful to Markus and others. 15h revised LogPlot axes labels destroyed when working in high precision edited body 15h awarded Nice Answer 17h comment Partitioning a list when the cumulative sum exceeds 1 @Leonid Wow, that is closely related, and I seem to have forgotten it despite voting for your answer. If I had remembered that question when I first saw this one I would probably have closed it without even trying to answer. Now however my Split method would be out of place there which makes it difficult for me to be happy about a close. So I'm not sure what to do or which hat to wear (moderator or user). 17h comment Plotting function with unique symbols Related, possible duplicate: (7756), (20718), (46751) 17h comment Manipulating slots in a pure function Related: (25266) 18h revised Unexpected behavior from Indexed bump for attention 19h revised Partitioning a list when the cumulative sum exceeds 1 bug fix 19h comment Partitioning a list when the cumulative sum exceeds 1 I quickly realized that InternalPartitionRagged was a bottleneck. I then realized the foolishness of my earlier comment about "a simple procedural loop in Compile" when I tried to get around it, for the reason you mention. 19h revised I want to compute the derivative of Black and Scholes option appended answer 105842 as supplemental 20h comment Plot of $sin(x^x)$ is missing from $x=143$ Related: (3152), (104815) 20h comment Understanding differences between Maple and Mathematica in examples picked by Maplesoft mrz, I notice that you have not Accepted an answer to this question. Are you hoping for something more to be written? 1d comment Why is Random faster than RandomReal? At least somewhat related: (75303) 1d comment Why is Random faster than RandomReal? I seem to recall this being discussed before but my search skills and memory are failing me. In my opinion since the new functions are optimized for generation en masse, and support multiple PRNG methods, it seems reasonable that they have a moderate overhead for individual calls. 1d comment Why is Random faster than RandomReal? Random` uses an older and poorer PRNG algorithm. Let me see if I can find some references. 1d comment Evaluation of Alternatives "We have some improvements in the pipeline and ideas on how to completely clean this up, but unfortunately completely squashing all these issues is a ways off." I am really happy to know that development continues on the core functions, and not only on library extension. 1d revised Evaluation of Alternatives added 1 character in body 1d comment Evaluation of Alternatives "Beyond the fact that evaluation may have undesired side effects, we would have a true circularity problem given that evaluation is done via pattern-matching!" I never thought of it like that, but it makes perfect sense. Thanks for a pithy summary of the evaluation thing.