Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Does size matter..

Comments in 'General Discussion' started by Muqsit, Feb 5, 2016.

  1. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    If size does matter...do you think removing the ASCII from each and every file in src will reduce lag? PMMP is around 3MB. Removing ASCII art from every file might get it down to 2.5 or less...!
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    No. Not at all.

    For compile time: for each file it might spend an extremely negligible amount of time for disk I/O reading the comments. Since this is only done on server startup, it has nothing to do with lag at all, since lag is about runtime.
    For runtime: the license header comments are not stored into memory. In runtime, PHP does not read the source files anymore. PHP will just use the in-memory compile code it created during compile time.
    meetloaf13 and Muqsit like this.

Share This Page

Advertisement