~/talk

Solving Sudoku's with R and C++

Talkat SatRday Amsterdam 2018 · 2018-08-31..09-02
links:none on file
slides:none on file

Implements a 9x9 Sudoku solver with greedy elimination plus backtracking that chooses the cell with the fewest candidates, first written in R then recompiled critical inner loops with C++ via Rcpp. Profiling with profvis shows removal of nonstandard pipes and zeallot yields a 7× microbenchmark speed-up; porting to C++ drops solve time from ~5000 ms to ~700 ms (about 44× faster) and turns a minute-scale hard puzzle into a subsecond solve.

AI-written summary · about

  1. 0:00Introduction to Sudoku solving
  2. 1:24R solution for Sudoku
  3. 3:35Hybrid R and C++ approach
  4. 7:50Profiling and optimization
  5. 10:20C++ implementation details
  6. 12:06Performance comparison results
  7. 13:35Benefits of Rcpp
  8. 14:07Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.