Hi Pritpal,

Il 27/01/2009 16.58, Pritpal Bedi ha scritto:
Hi All

After examining the uhttpd implimentation I am wondering if .hrb code can be loaded once and reused
with every next request. That way this will come at par
with Xbase++'s WAA (Web Application Adopter) protocol where program DLL (called package) is loaded only once.

this is one point in my todo list, but I don't know if there are any problems storing hrb modules in memory and reuse them.

What happens to loaded symbol table ? because every modules will have HRBMAIN() and could have same other function names. And another: what is faster ? Load from file using __HRBLOAD() / __HRBUNLOAD() or scanning and array / hash table every time ? I suppose the second, but I have doubts on symbol table.

Przemek, Viktor ?

Best regards

Francesco

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to