Help! 1064 nm emitted by Diode vs Nd:YAG?

Are there any differences between 1064 nm emitted by Long-Pulsed Diode laser and Long-Pulsed Nd:YAG laser for hair removal?

Assume that fluences, pulse duration & spot sizes of both machines are exactly the same, should the efficacy and side effects of the 1064-nm light be the same no matter what sources it comes from? Shouldn’t it?