H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Jun 10, 2021 #1 I noticed on compilation of B4R project that when log writes "using previous compiled version of . . . ." is faster than without it! It is randomly happen, so slow compilation and fast compilation happened for same project randomly! Can I force compiler to used "using previous compiled version of . . . ." almost of compilation tries. Or any other alternative to make it fast.
I noticed on compilation of B4R project that when log writes "using previous compiled version of . . . ." is faster than without it! It is randomly happen, so slow compilation and fast compilation happened for same project randomly! Can I force compiler to used "using previous compiled version of . . . ." almost of compilation tries. Or any other alternative to make it fast.
Erel B4X founder Staff member Licensed User Longtime User Jun 10, 2021 #2 It is expected to reuse previously compiled objects when possible. Cleaning the project for example will cause it to delete the old objects. Upvote 0
It is expected to reuse previously compiled objects when possible. Cleaning the project for example will cause it to delete the old objects.
rbghongade Well-Known Member Licensed User Longtime User Jun 11, 2021 #3 My observations with B4R compilation are: 1)The first time when the project is launched it takes more compile time (actually Arduino compiler ) 2)If you change the build options it takes longer to compile 3)If you clean the project it takes longer to compile 4)After upgrade from Arduino 1.6.x to 1.8.x the compilation time has drastically reduced Actually B4R is very fast, it is the Arduino compiler which is responsible for compile times. Upvote 0
My observations with B4R compilation are: 1)The first time when the project is launched it takes more compile time (actually Arduino compiler ) 2)If you change the build options it takes longer to compile 3)If you clean the project it takes longer to compile 4)After upgrade from Arduino 1.6.x to 1.8.x the compilation time has drastically reduced Actually B4R is very fast, it is the Arduino compiler which is responsible for compile times.