Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
@Gracjandogg You would want measurements taken from production app, leverage monitoring to spot major bottlenecks, and make room for adjustments if the product owner says so, or the performance impact is so much your app is bleeding money.
That's the difference between a senior and a junior. Everything is a tradeoff, and you're better off investing the next hour building stuff that give you ROI, and not just anything you can detect that can be done better.
If you're talking about hot paths? Yes, BUT you will also have to inline any loops, and other things that simply shouldn't exist in non-hotpath code. In sort: You're not wrong, you're just taking things to the absolute extremes by choosing to not use stuff the standard library provides because "slow".
You can search for 'Inline IF statement' or list comprehension. Basically when creating a variable you can put in that same line an IF logic to see what you will assign. For example "Size = 'small' if x < 10 else 'large'" Here depending on x the variable will be 'small' or 'large' in one line instead of having 4 lines.
This comment is hidden because it contains spoiler information about the solution
My brain isn't working... what even?
Python is love
This comment is hidden because it contains spoiler information about the solution
i got stuck cuz it kept on saying there was a problem with "filter_string" when the actual name was "filter_list"
Too Slow!
It's slower tha others
And i went to check if the result is a triangular number .. oops
This comment is hidden because it contains spoiler information about the solution
i wanted to use that method but i thought it may give wrong output so i went with normal way :-)
i thought to use that method but i carried on with normal way LOL :-)
i thought to use that method but i used a normal way.LOL :-)
This comment is hidden because it contains spoiler information about the solution
Loading more items...