02.03.2014, 14:56
Well the obvious thing to say based on what you said is don't put your maps in the script - put them in a .map file or something and include a map loader. That way you make the script vastly smaller and don't need to re-compile just to change your mapping, just change and re-load the map file.
Of course, the real question is HOW long does it take? Anything around a minute, you could just go make a cup of tea while waiting. Things mentioned like reducing lines (especially comments) are terrible ideas as they make your code less readable and will not make a noticeable difference to compile times (comments are about the fastest thing to compile, because they do nothing).
Of course, the real question is HOW long does it take? Anything around a minute, you could just go make a cup of tea while waiting. Things mentioned like reducing lines (especially comments) are terrible ideas as they make your code less readable and will not make a noticeable difference to compile times (comments are about the fastest thing to compile, because they do nothing).