david850067064 / nape

Automatically exported from code.google.com/p/nape
0 stars 0 forks source link

Too slow compilation #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>What steps will reproduce the problem?
1. Download hxnape.zip
2. add to FD project
3. press compile

>>What is the expected output? What do you see instead?
Expected output 1 sec compilation instead i see 1 minute compilation.

>>What version of the product are you using? On what operating system?
Nape 0.9999b

It is possible to speed up compilation time?

Original issue reported on code.google.com by 623...@gmail.com on 4 Jun 2010 at 3:10

GoogleCodeExporter commented 9 years ago
That seems incredibly slow, on my system compiling in debug mode takes about 7
seconds, compiling in release mode about 1 second.

There are some parts of the engine which could be sped up compilation time wise,
however the bulk of the compilation time is spent in the run-time critical 
areas of
the engine. The engine takes long time to compile for the same reason that it 
runs
extremely quickly.

If it were to be something important, I would consider adding a compiler flag 
for
haxe compilation to disable certain optimisations for faster compilation.

Original comment by lucadelt...@googlemail.com on 4 Jun 2010 at 3:19

GoogleCodeExporter commented 9 years ago
If you are targeting the flash platform, you could perhaps try and just use the
compiled .swc instead of the source so you don't need to recompile the engine 
every
time you test your application.

Original comment by lucadelt...@googlemail.com on 4 Jun 2010 at 6:06

GoogleCodeExporter commented 9 years ago
>>If you are targeting the flash platform, you could perhaps try and just use 
the
>>compiled .swc instead of the source so you don't need to recompile the engine 
every
>>time you test your application.

It is possible with haxe?

Original comment by 623...@gmail.com on 5 Jun 2010 at 7:12

GoogleCodeExporter commented 9 years ago
http://haxe.org/doc/advanced/swc, I do believe I can remember on the mailing 
list
something about being able to do it directly now or something aswell without 
having
to do that faff., though I'm not sure.

Original comment by lucadelt...@googlemail.com on 5 Jun 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Well especcialy now that new version of haxe supports multiple swc files, i 
feel this is no longer an issue at all.

Original comment by lucadelt...@googlemail.com on 21 Aug 2010 at 10:07