Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Whether to Use an Array or a Cursor ?
Message
De
16/08/2013 06:20:03
 
 
À
15/08/2013 11:35:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580497
Message ID:
01580600
Vues:
63
Not only that - as parsing those files is the topic for what feels like a half year perhaps rethinking the global approach, timings needed and computational power available and tools to be used are in order. Importing in a database and then analyzing/reporting probably is highly possible, but analyzing non-relational ASCII files via parsing on a large scale pushing necessary performance is not really a vfp best-of-breed use case. The whole approach currently selected is probably subobtimal - an iterative import of all files with provisions to re-import classes of import files not totally correct in first run would probably be much better. That much of the offered code is clearly against DRY imperative is all to visible.

>Consider
>
>(1) Structuring the code - don't know whether you'll still understand the code in a month or so
> Create a class, add methods
>
>(2) Using regular expressions instead of wordnum/strextract/at and the like. They will make the work easier and easier to understand
>
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform