Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCursor performance compared to DynArray Question

3 views
Skip to first unread message

Pierre Charbonneau

unread,
Nov 22, 2004, 9:45:35 PM11/22/04
to corel.wpoffice.paradox10

Hi,

To get highest performances as possible in time response from ocxServer,
instead of using a qlocate on a TCursor variable (pointing a the
HTMLtemplates table used to builf HTML response file as we see in the
Hercules webServer example from installation CD of Paradox 8) I load all the
table content to a global Dynamic Array (DynArray[] String) at DoStartUp
method as a "cache memory" and in other methods I call the DynArray String
instead of TCursor as handling request functions.

What do you think about that ?

Pierre

Tony McGuire

unread,
Nov 23, 2004, 12:00:28 AM11/23/04
to corel.wpoffice.paradox10

Depends on how much info is in that table/dynarray. Only issue I can see is
memory/resource, but I doubt you are using enough to worry greatly about.

I took to placing some of the template stuff in the PROC section, rather
than use the templates. I found too many situations where I wanted a slight
modification in the middle, which meant it didn't qualify as a template any
longer.

Could have made it a method, I suppose, but I just found it handy to have
all template stuff (not in the templates.db) in one window.

--
--
Paradox Support http://www.thedbcommunity.com/support/

Tony McGuire
_____________

0 new messages