Search found 14 matches

by Loy2888
Tue Nov 24, 2020 6:22 pm
Forum: Visual FoxPro
Topic: Input needed on FoxPro local support
Replies: 15
Views: 3759

Input needed on FoxPro local support

Hi Robert,

IMO, the existing FoxPro behavior for this is important especially when you have recursive functions - you may want to make those variables local for each recursion.. So, for me, the FoxPro behavior is right on these situations.
by Loy2888
Tue Aug 18, 2020 5:49 pm
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

I forgot to mention that I have 1000 records in my TEMP.DBF. When I reduced this to 100 records, I have the same result as yours.
by Loy2888
Tue Aug 18, 2020 4:21 pm
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

Hmmm, yours is faster at 8 seconds? Is this the "SKIP" example? or the "LOCATE" example. The 8 seconds for me is the "LOCATE" example.
But on the "SKIP' example, see my attached screenshot here with FConvertToMemoryStream(DbInfo(DBI_FILEHANDLE)) enabled.
by Loy2888
Tue Aug 18, 2020 4:00 pm
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

So the case is different in VFP/X#, it looks like VO/X# performs a little bit better.

I tried to redirect the file stream into memory in VFP/X# and the difference is not much (minus 2-3 seconds).

I don't use VO/X# so I can't compare.
by Loy2888
Tue Aug 18, 2020 2:49 pm
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

<r>Hi Leon,<br/> Thanks for being interested on this topic as I am taking application performance very seriously as well. I have applications with heavy lifting algorithms and haven't tried them yet in X# as I came across this performance issue.<br/> <br/> Would you mind to test this code as well ...
by Loy2888
Mon Aug 17, 2020 11:11 pm
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

<r>Hi Robert/Chris,<br/> <br/> I tried to add <CODE><s>[code]</s>FConvertToMemoryStream(DbInfo(DBI_FILEHANDLE))<e>[/code]</e></CODE> but it only reduced to 6 seconds from 8 seconds. Still slow compared to FoxPro at less than 1 sec.<br/> <br/> The reason why the speed is a big deal for me is that I ...
by Loy2888
Mon Aug 17, 2020 4:42 pm
Forum: Chit-Chat
Topic: Interesting X# discussion
Replies: 12
Views: 2705

Interesting X# discussion

<r>Hey Guys,<br/> <br/> I came across this website below while google searching and found this discussion about X# very interesting:<br/> <br/> <URL url="https://support.west-wind.com/Thread5U70W2EQW.wwt">https://support.west-wind.com/Thread5U70W2EQW.wwt</URL><br/> <br/> Anyone here using Web ...
by Loy2888
Sun Aug 16, 2020 11:22 am
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

<r>Hi lumberjack,<br/> <br/> Your simple code change did not improve the speed in X#. Still at <B><s>[b]</s>8 seconds<e>[/b]</e></B>, see my screenshot attached. <br/> <br/> <QUOTE><s>[quote]</s>forget about the "LOCATE" speed, but look at what features of X# you can use to speed up your code<e ...
by Loy2888
Sun Aug 16, 2020 5:01 am
Forum: Visual FoxPro
Topic: speed of LOCATE command in X# vs VFP
Replies: 34
Views: 7142

speed of LOCATE command in X# vs VFP

<r>Sorry for throwing more issues here as I am trying to test out X# if moving our apps to this technology would be feasible <E>:)</E><br/> <br/> With SET OPTIMIZE OFF, I created a small dbf table (no index) with 1000 records to test the speed of LOCATE command in both X# and VFP.<br/> I iterate a ...
by Loy2888
Fri Aug 14, 2020 8:37 pm
Forum: Visual FoxPro
Topic: SEEK command on Integer type index tag
Replies: 3
Views: 1864

SEEK command on Integer type index tag

Hi Chris,
See attached screenshot and a sample Temp.dbf file