> Is there any way to optimize these constants or is there any code optimized fft library for this microcontroller.
Optimize for what ? You can either optimize for speed, for size, or a mixture (=compromise) of both.
The usage of the named pre-calculated constants for FFT is a speed optimization of that algorithm.
You can try implementing any other FFT algorithm, if you wish. But be aware of the limitations of "float" versus "double".