Open GregorySchwartz opened 5 years ago
Also, not necessarily just for matrix creation, but in general performance I've been having some good identifications of stack usage with this process: http://neilmitchell.blogspot.com/2015/09/detecting-space-leaks.html
When inputting a very large matrix into my program, the majority of the time spent is reading (attoparsec from
matrix-market-attoparsec
) and matrix creation (the IntM functions). Is there a way to increase performance in both of these libraries? I see that the matrix creation useslookup
for membership existance and theninsert
, these can be merged intoData.IntMap.Strict.alter
, right? I'm sure there are other ways to improve this performance as well...