Closed shepherdmrf closed 5 months ago
@BeverlyCrl
I'm not very sure if change if-else structure will optimize the whole function.Because in the case that we need more else instead of if,I reckon this structure might takes more time. It depends on whether the program will run more into the if branch or else branch. Maybe you can try to test just expand loops and compare the time spend of them. Might new if-else is work.
It seems difficult to expand this code with a simple loop expansion, so I may keep it as it is and change it if I have some new ideas.
Written in #24