Projects
/ Fundamentals & CS
/ Beginner
⚡ Make a slow aggregation fast, by measuring first
☆ Read later
Free
About 2 hours
Needs: Python up to lesson 35 (dictionaries and sets)
Take first: Python for Beginners
What you end up with
The times before and after, side by side, and a check that the answer has not changed. And one rewrite in hand that looked like it would help and did not.
🔒
Create a free account to read this project
Sign up for a free membership to read every free project. Already have an account? Please sign in.
Report a problem with this project
Log in to send a report.
What to build next
Beginner
🔁
A duplicate check on a member list is instant at 1,000 people and never finishes at 100,000. You count the comparisons, see how they grow when the list doubles, and estimate before running. Then you rewrite it around a dict and check that the rows to remove have not changed.
Intermediate
🔍
The first of eight projects that build a terminal in Rust. Record vim, top and less with script, read the output byte by byte with cat -v and od, check the meaning in xterm ctlseqs, and write the observation notes that drive the design.
Advanced
🔌
Build a small script(1) of your own with Rust and libc: start a child with forkpty, always restore raw mode, forward SIGWINCH, and relay with select. Tests drive real PTYs, and the output is compared byte for byte with macOS script.
← Back to all projects