Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
>Using this exact same code, cursor was 3 seconds slower than using an array on my dual core machine
>
>Probably depends on whether VFP spans the cursor to disk. ;-)
? FILE(DBF()) returns .F., so, no the cursor does not hit the disk. It must be something else.
>Cursors are definitely quicker if the algorithm loops quickly and benefits from an index. In this case it doesn't, so probably there's no great advantage to be found. Referring to field names may be more readable than array dimensions, though you can achieve similar readability using #DEFINES.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only