Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDF's second rate citizen in Rushmore ?
Message
De
07/09/2006 09:19:52
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
06/09/2006 23:45:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01151219
Message ID:
01151733
Vues:
58
>Hi Mike,
>
>Interesting idea, but I think only partially possible here. The udf's are not very complex and nearly always either working on a single string or returning info about that string. Removing the overhead of function calling IS tempting. Concatenating the pure expressions via snippet engine should should give a boost. I partially use a similar approach with properties (giving me the benefit of inheritance and fast inspection via property sheet) and a query expressoin rule table, but your recursive approach is definitely at a higher level. While I believe some of the transformations are at least easier to code as udf: removing double letters for instance, I will at least the test of manually flattening the with only expressions into one big expression simulating the performance gains. Still - I don't see the need of the optimizing behavior vfp shows.

I'd agree with that, except that if VFP optimized UDFs, there would be a ton of complaints where someone's UDF was misbehaving and they'd blame VFP and call it buggy.

>
>thx for the nudge
>
>thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform