hello and welcome i'm james murphy and today we're going to be looking at what's the fastest way to
loop in python so just as an example task we're going to loop through the numbers 0 to n minus 1
where n is going to be some big number like this and just add them up you know something to do in
the loop which one do you think is faster using a while loop or a for loop you can see in both cases
we're doing essentially the same work but one of them is using a while l...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
arc53/DocsGPT | PythonTypeScriptCSS | 11.7k | +4.8k | 1.1k | +364 |
Pythagora-io/gpt-pilot | PythonOther | 9.5k | +4k | 722 | +297 |
OpenBMB/ChatDev | PythonJavaScriptCSS | 12.9k | +2.7k | 1.3k | +274 |
microsoft/autogen | Jupyter NotebookPythonOther | 8.1k | +2.5k | 811 | +315 |
mit-han-lab/streaming-llm | Python | 4.6k | +2.2k | 234 | +115 |
krahets/hello-algo | JavaSwiftC++ | 38.2k | +1.8k | 4.2k | +203 |
novuhq/novu | TypeScriptPythonJavaScript | 29.3k | +1.5k | 2.5k | +179 |
openai/openai-python | PythonMakefile | 12.8k | +1.3k | 1.8k | +77 |
microsoft/promptflow | PythonOther | 4.1k | +1.1k | 273 | +49 |
KillianLucas/open-interpreter | Python | 28.8k | +958 | 2.5k | +93 |