I am wondering how the number of lines of code inside of a CFC affects the
time it takes to instantiate an object?

Let's say every user who logs into a site gets an employee.session = an
instance of employee.cfc. This CFC contains a couple thousand lines of code
because of all the functions. Does anyone know if there is a point at which
it makes sense to break up the CFC into a CFC that mainly just contains
properties, and either a singleton CFC that contain the methods or custom
tags? Can you load an endless series of functions into a CFC without the
user noticing any slowness? How much RAM do the methods inside of each
session CFC instance take up? They must take up some room since I see the
public function descriptions when I do a dump of session.employee.

Thank you,
Mike Chabot

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to