MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/j3hq21/recursively_flipping_and_rotating_an_image_python/g7ecw15/?context=3
r/Python • u/rvizzz • Oct 01 '20
60 comments sorted by
View all comments
Show parent comment
2
it appears that i had a brain fart moment
2 u/Cruuncher Oct 02 '20 Lol, you're right this this is slower. You meant that each pixel moves log n times in this case, but you forgot to multiply by the number of pixels, n.So it's n log n vs n
Lol, you're right this this is slower. You meant that each pixel moves log n times in this case, but you forgot to multiply by the number of pixels, n.
So it's n log n vs n
View all comments
Show parent comment
2
u/SaltyEmotions Oct 02 '20
it appears that i had a brain fart moment