What's faster memory or sequences?

new topic     » topic index » view thread      » older message » newer message

What's faster memory or sequences?
`````````````````````````````````````````````````````````````````````
        I am working with virtual screens and sprites, and i want to know
which is faster?
        Like this:

        Clearing a sequence with repeat (0,length(sequence) )
                OR
        Clearing memory with mem_set(loc, 0, length)


        Poking a whole sequence to the video memory
                OR
        Memcopying an allocated memory block to the video memory


        Subslicing a one-dimensional sequence
                OR
        Use random acces in a 2D- sequence
                OR
        Subslicing memory by calculating the section


 Thanx
`````````````````````````````````````````````````````````````````````
<<..  Ralf Nieuwenhuijsen ..>>
<<..  nieuwen at xs4all.nl ..>>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu