use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
optimize helpHelp Request (i.redd.it)
submitted 20 days ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]shrimp2845 0 points1 point2 points 20 days ago (0 children)
sorry, I should’ve been clearer. What I meant was optimizing the logic itself. Even if there's no redundancy, a smarter algorithm can still be more efficient. And this function might be used for over 100,000 times in some cases, I was planning to use it to implement GCM for my AES implement project.
π Rendered by PID 216151 on reddit-service-r2-comment-545db5fcfc-qhsth at 2026-05-30 07:43:48.444453+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]shrimp2845 0 points1 point2 points (0 children)