Posts: 266
Threads: 22
Joined: Jan 2017
Reputation:
0
I started to use sublime text instead of pawno and i have code divided into sections, anyway when i include this one "section" the compile time jumps from 14 second to 46 seconds! The problematic sections is 154 lines only, has 2 defines, 1 enum, 3 forwards, 3 public functions, 1 timer (y_timers) and 3 commands ...
Anyone know what the problem could be?
Posts: 1,046
Threads: 250
Joined: Nov 2014
Reputation:
0
What is the size of your file?
Posts: 215
Threads: 34
Joined: Jun 2013
Reputation:
0
A Lot of users have reported the latest sublime build has been causing issues.
Try downgrading back to the previous build.
Posts: 1,758
Threads: 157
Joined: Jan 2008
Reputation:
0
YSI slows down your compile time a lot, mainly because the libraries are so large.
Posts: 580
Threads: 26
Joined: Jan 2006
Reputation:
0
You can use pawncc with -l (listfile) to generate a .lst file, this will not compile, but will process all includes and #define-s.
This can be used to see how long just the pre-compile step takes, and if your includes & #defines are slowing down your compilation.
Posts: 889
Threads: 4
Joined: Mar 2013
Reputation:
0
I don't see how Sublime text would slow down the compilation process. All it does is call the compiler when a hotkey is pressed.
Posts: 542
Threads: 14
Joined: Aug 2016
Reputation:
0
A Script reads from the top to the bottom if you have a lot of coded lines, expect a long compiling time.
There you have it. That library's probably creating the problem.