buffer channel
This commit is contained in:
@@ -31,7 +31,7 @@ func totient(cmd *cobra.Command, args []string) {
|
||||
bufStdout := bufio.NewWriter(os.Stdout)
|
||||
defer bufStdout.Flush()
|
||||
|
||||
for v := range lib.TotientSieve(totientN) {
|
||||
for v := range lib.TotientSieve(totientN, 1000) {
|
||||
if v == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user