MFC application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rintuabhijit
    New Member
    • Feb 2008
    • 1

    MFC application

    sir,
    how can i reduce load time of an mfc application. i.e when i execute the program first time i.e after reboot it takes more than 18 second, but after that it takes only 7 or 8 second . can u tell me what is the problem?
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Originally posted by rintuabhijit
    sir,
    how can i reduce load time of an mfc application. i.e when i execute the program first time i.e after reboot it takes more than 18 second, but after that it takes only 7 or 8 second . can u tell me what is the problem?
    Very little you can do about this, the time difference is caused by caching, certainly you disk caches reads and the IO system of Windows might was well.

    The first time you load the program and it's data it is not in any caches so it has to be physically read off the disk, but the second time some of it is in various caches in the system and hard disk so the read time is reduced.

    This is a function of hardware and will only really change with a change of hardware.

    Comment

    Working...