>Number:         4051
>Category:       mod_jserv
>Synopsis:       Session efficiency - minor
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 12 15:20:00 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.3
>Environment:
Solaris 7
>Description:
JServSession allocates a HashTable in it's constructor.

It would appear that the hashtable allocation could be delayed 
until the hashtable is required, thus saving ram + time in many
cases.
>How-To-Repeat:

>Fix:
trap 
if (sessionData == null) 

in several places and only allocate the hashtable if needed.



>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to