SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2002
    Location
    Chennai,TN,India
    Posts
    36
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Memory Management and Maintainablity

    Which is the best option?

    Case 1:
    Let us assume that
    there is a Library file which inturn refers to set of inc files(Assume 5 inc files).
    there is a opt file where the library file name is added in the use file path
    there is a t file refers a function which is in one of the inc file placed in the lib file

    Case 2:
    Let us assume that
    there is a t file refers a function which is in one of the inc file through --- use "*.inc"

    Case 3:
    Let us assume that
    there is a opt file where the specific inc file name is added in the use file path
    there is a t file refers a function which is in one of the inc file


    Tell me (from the maintainablity and resource management(specifically from memory) angle) which methodolgy should be followed by us to refer a commonly used function within an inc file is right?

    Clarification:

    Whether all the library and include files are loaded into the memory while running the script or only the specific inc file will be loaded at runtime?

    ------------------
    Babu NM
    Babu NM

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Memory Management and Maintainablity

    all inc files that are added or included by use function will be compiled. include only those .inc files u use most in .lib file and explicitly include .inc files in respective .t files wherever u use most of them.

    ------------------
    Sree
    Sree

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:11 PM.

Copyright BetaSoft Inc.