SPONSORS:






User Tag List

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)

    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)

    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
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:26 AM.

Copyright BetaSoft Inc.