What is the fastest way to process pixels?
I'm experimenting with some basic particle engine and I wanted to know how I can get the best performance.
I've seen some examples using the MemoryImageSource class to be able to process each pixel.
I've also read that the BufferedImage getRGB and setRGB methods are fast, but I don't seem to be getting any perfomance there.
What is the best way to process and draw pixels?