Reputation
Next privilege 5 Rep.
Participate in meta
Badges
1
Newest
 Informed
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Feb
2
awarded  Informed
Jan
12
comment Is it possible to Parallelize Select?
More observations - - ParallelTable can be amazing. - I wish someone would write a tutorial on the use of a smaller number of long lists vs. a larger number of short lists. I've run into this with ArrayReshape in conjunction with other functions. The many short lists solution was very slow, and the smaller number of long lists approach ran very fast. For those of us trying to implement things using the functional programming paradigm this seems to be an important kind of "best practices" issue. - In a time gone by, the relational database Ingres worked really well on long skinny tables and Ora
Jan
12
comment Why is SatisfiabilityCount faster than SatisfiableQ?
Just for the record I've had related - unexplained behavior - experience with some of the Mathematica machine learning functions. Mathematica Support pointed me at some undocumented arguments that enabled me to make sense out of behavior on some "edge" inputs. In summary, Support was very helpful, documentation not so much.
Sep
23
comment Add a vector to a list of vectors
In similar contexts ... While I use Transpose all the time - for intuitive clarity and readability, sometimes one can get faster performance using Part and All in its place ... just FYI testData = Table[{{i, 2 i}, 3 i}, {i, 1000000}]; Print@Timing[ Length[ Last[ Transpose[testData]]]]; Print@Timing[ Length[ Part[ testData, All, 2]]]; Print@Timing[ Length[ testData[[ All, 2]]]];