Mr.Wizard
Reputation
428/400 score
 27m 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). 34m comment Plotting function with unique symbols Related, possible duplicate: (7756), (46751) 35m comment Manipulating slots in a pure function Related: (25266) 1h revised Unexpected behavior from Indexed bump for attention 2h revised Partitioning a list when the cumulative sum exceeds 1 bug fix 2h 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. 2h revised I want to compute the derivative of Black and Scholes option appended answer 105842 as supplemental 2h comment Plot of $sin(x^x)$ is missing from $x=143$ Related: (3152), (104815) 3h 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? 7h comment Why is Random faster than RandomReal? At least somewhat related: (75303) 8h 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. 10h comment Why is Random faster than RandomReal? Random` uses an older and poorer PRNG algorithm. Let me see if I can find some references. 10h 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. 10h revised Evaluation of Alternatives added 1 character in body 10h 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. 12h awarded Nice Answer 21h comment How to make an empty list inside a module program? It consatly spews errors Also: (17808) 21h comment Is there a guideline about when to end expressions with semicolons? Related: (33861) 21h reviewed Close what do those signs #1, #1^2, #1^3, & mean here? 22h revised Partitioning a list when the cumulative sum exceeds 1 add third method