I initially thought the optimized poseidon implemented here follows what it's described in Appendix B of the paper. Which is also outlined here in more details. Iden3's implementation also follows the same description.
But I think the version implemented here is different than the others. I was counting the number of multiplications and additions that we're using in total. According to my calculation, this version has R_p + 1 - t^2 - t less additions and t^2 more multiplications.
Can someone explain what's the optimization that's used here?
I initially thought the optimized poseidon implemented here follows what it's described in Appendix B of the paper. Which is also outlined here in more details. Iden3's implementation also follows the same description.
But I think the version implemented here is different than the others. I was counting the number of multiplications and additions that we're using in total. According to my calculation, this version has R_p + 1 - t^2 - t less additions and t^2 more multiplications.
Can someone explain what's the optimization that's used here?