Re: [Openledger-developer] Technical Question - Database connection
Brought to you by:
klavs
From: Ang T. C. <at...@ew...> - 2005-05-11 17:31:06
|
Klavs Klavsen wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi Ang, > >on 05/12/05 01:27 Ang Tun Chek wrote: > > >>To all, >>Currently, my code establish a database connection for each function. >>so my question is >> >>1) will the speed of executing reduce by doing this way? >> >> >> >Well yes - it does take a little time to open up and tear down a >connection, but IMHO performance is not that important :) > > > i will stayed with one function with one connection and observe the performance first >p.s. I'm glad to see you furthering the project - I hope you have good >use for the functions you write yourself and I would be very happy if >you could share with us, how/what you use these functions for.. I would >like to add a page on the site, listing everyday functions the current >codebase is used for. I intend to add my own usage too ofcourse :) > > > i just do what i can do, well i am not good on technical writing. i hope somebody can do it for me, any question about my code are welcome. please write to me. thanks from Ang |