what's faster vb? stealing an component an array inserting one?


which faster? somecondition same luck being loyal being false.



insertion:



arraylist = array("apple", "pear","grape")
if somecondition then
' insert "banana" element
end if


deletion:



arraylist = array("apple","banana","pear","grape")
if somecondition then
' mislay "banana" element
end if


it looks depends definitely doing insert remove. which, general, faster? i'm arrangement toward insertion since i've review copymemory insert but looping. same deletion? does anyone have an example?



edit:
this vb6, vb.net.
for arrangement reasons, i have insert rather append.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?