Welcome Guest, Not a member yet? Register   Sign In
Asking about performance of data retrieval
#2

[eluser]nzmike[/eluser]
On the data retrieval? No it will not affect the speed of the database because by the time your query gets to the database the variable will have been evaluated to a string. On the other hand will it affect the overall speed of your program? Yes it will...but the performance difference is so slight it's probably not even measurable.

So in other words I can't see any performance issues with this piece of code. I am wondering why you're using a for loop though. Will it not drop out of the function after the first iteration?


Messages In This Thread
Asking about performance of data retrieval - by El Forum - 09-10-2009, 07:12 PM
Asking about performance of data retrieval - by El Forum - 09-11-2009, 12:01 AM
Asking about performance of data retrieval - by El Forum - 09-11-2009, 04:02 AM
Asking about performance of data retrieval - by El Forum - 09-11-2009, 07:12 AM
Asking about performance of data retrieval - by El Forum - 09-11-2009, 07:31 AM
Asking about performance of data retrieval - by El Forum - 09-11-2009, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB