comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » array convol optimizationv slow now
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
array convol optimizationv slow now [message #67287] Mon, 13 July 2009 15:40 Go to previous message
newerjazz is currently offline  newerjazz
Messages: 5
Registered: July 2009
Junior Member
Hi All,

I have an array of [2,100,000,000] corresponding to x, y and
100,000,000 particles. I need to render these particles as gasussian
spots at x, y locations

Currently, I run a for loop through each particle and render each
particle in this for loop; it takes forever.

I am thinking to create an array of zeroes. at each location where
there's particles, I increment the value by 1. Then use convol to draw
gaussian spot.

Any suggestion to implement this!

Thanks a lot!

newerjazz
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: SIZE() vs. N_ELEMENTS()
Next Topic: uniq slow for loop

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 19:02:33 PDT 2025

Total time taken to generate the page: 0.31810 seconds