forked from mikespook/Learning-Go-zh-cn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.tex
More file actions
42 lines (35 loc) · 728 Bytes
/
todo.tex
File metadata and controls
42 lines (35 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\section{To do}
\begin{itemize}
Run gotest -test.bench=Bench -test.cpuprofile=cpuprof
\$(GC) y.go
\$(LD) -o units y.\$O
This will generate a cpu profile. You can examine it with gopprof:
gopprof 8.out cpuprof
http://blog.golang.org/2011/06/profiling-go-programs.html
- Evan
\item
Style! Make it a pleasant read
\item
In chapter 3 (Functions) add exercise for GCD and LCM
\item
Conversion
\end{itemize}
Exercise ideas
\begin{itemize}
\item
equality for arrays/maps
\item
sudoku solver
\item
concurrent/parallel Sudoku solver
\item
prime number tester
\item
prime number generator
\item
prime sieve
\item
get system time and convert it in different formats:
\item
Extract uppercase words from a file
\end{itemize}