About
I am a fourth-year PhD student in the SysNet group at the University of Toronto, advised by Niv Dayan in the ORCA Lab.
I design indexes and the data structures beneath them, and I hold each design to two standards. The first is theoretical: provable bounds on space and time. The second is practical: speed on real hardware, where cache lines, branch prediction, and memory bandwidth decide what is fast. My current focus is scalable vector indexes, which determine what semantic search costs in AI systems.
Outside research, I boulder and hike, read the poetry of Akhavan Sales and histories like Hobsbawm's The Age of Extremes, and play strategy games.
Publications
-
An n1/O(log* n) Lower Bound for Online Coloring of k-Colorable Graphs
Sajad Faghfoor Maghrebi
-
A Power Law in Logarithm's Clothing: On the Scalability of Graph-Based Vector Search
Sajad Faghfoor Maghrebi, Navid Eslami, and Niv Dayan
arXiv 2026PDF
-
Sphinx: A Succinct Perfect Hash Index for x86
Sajad Faghfoor Maghrebi and Niv Dayan
Talks
Experience
-
Teaching Assistant, University of Toronto
2023 – presentLead TA for web programming (CSC309). TA for software engineering (CSCC01, CSC301), data structures (CSCB63), databases (CSC343, twice), introductory computer science (CSC148), and database system technology (CSC443).
-
Software Engineer, Digikala
2022At the largest e-commerce company in the Middle East, I refactored tens of thousands of lines of monolithic product logic and then helped my team split it into services.
-
Co-founder and CTO, GoldScan
2020 – 2023I led the team that built an automated trading platform for crypto, stocks, and forex. At its core sat a fast backtester that modeled each market's quirks, an Optuna-based optimizer that tuned strategies overnight, and a MongoDB service that merged feeds from many markets into one queryable history. Dozens of traders ran our strategies. I also built the live execution engine and a crypto arbitrage system that captured price gaps within and across exchanges. It sized each trade from order-book depth and planned executions with classical search.
-
Co-founder, Karaneh
2018 – 2019We ran workshops in middle and high schools on how financial markets work, from basic concepts to the mechanics of real trading.
Projects
-
RisheریشهSource
Persian and English share more ancestry than most people expect. Rishe maps it, using Ali Nourai's etymological dictionary. It lays out 950+ root families and 11,000+ words as a zoomable constellation, with searchable derivation trees, lines of classical poetry that show each word in use, and a pathfinder that connects any two words through their roots.
-
Philosophitor
A study tool for philosophy built on the Philosophize This! transcripts. Given a philosopher or a question, such as free will or the basis of morality, it summarizes the main positions and then asks questions about the arguments themselves: what each one claims, the standard objections, and how the schools answer each other. The transcripts are searchable too.
-
pytse-client
An open-source Python client for Tehran Stock Exchange data. I made price-history and order-book fetching fast and asynchronous, added a statistical analysis layer, and wrote the tests that kept it reliable as the exchange changed its interfaces.
Education
-
University of Toronto
2023 – presentPhD, Computer Science. Grade: A+
-
Sharif University of Technology
2018 – 2023B.Sc., Computer Engineering. GPA: 3.85/4.00
Minor, Economics. GPA: 4.00/4.00
Honors
-
Ranked 6th of over 100,000 candidates
2018Iranian National University Entrance Exam