- https://twitter.com/val_deleplace/status/1423654458374955010
- https://twitter.com/val_deleplace/status/1427375766665371656
- https://twitter.com/val_deleplace/status/1429840952231964675
- https://twitter.com/val_deleplace/status/1430195783136071690
- https://twitter.com/val_deleplace/status/1433134161808740352
- https://twitter.com/val_deleplace/status/1435253846440386569
- https://twitter.com/val_deleplace/status/1435632521744637958
- https://twitter.com/val_deleplace/status/1445434331401498625
View Go_quizzes.md
View mapfunc_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mapfunc | |
import ( | |
"sync" | |
"testing" | |
"github.com/puzpuzpuz/xsync/v2" | |
) | |
const ( |
View gist:869094a77a5292b40511704482e3e7d8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.google.com/search?q=%s&tbm=isch |
View stablesort_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package stablesort | |
import ( | |
"math/rand" | |
"sort" | |
"testing" | |
"golang.org/x/exp/slices" | |
) |
View stablesort_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package stablesort | |
import ( | |
"math/rand" | |
"sort" | |
"testing" | |
) | |
const ( | |
M = 500 |
View roses-are-red.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Roses are red | |
Violets are blue, | |
Sugar is sweet | |
And so are you. |
View othello.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Othello, the Moore of Venice | |
ACT I | |
SCENE I. Venice. A street. | |
Enter RODERIGO and IAGO | |
RODERIGO | |
Tush! never tell me; I take it much unkindly | |
That thou, Iago, who hast had my purse | |
As if the strings were thine, shouldst know of this. | |
IAGO |
View hamlet.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Tragedy of Hamlet, Prince of Denmark | |
ACT I | |
SCENE I. Elsinore. A platform before the castle. | |
FRANCISCO at his post. Enter to him BERNARDO | |
BERNARDO | |
Who's there? | |
FRANCISCO | |
Nay, answer me: stand, and unfold yourself. | |
BERNARDO |
View set_implementations.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"runtime" | |
) | |
func main() { | |
BoolImplMemoryFootprint() |
View insert_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package insert | |
import ( | |
"fmt" | |
"testing" | |
"golang.org/x/exp/slices" | |
) | |
func BenchmarkGrow(b *testing.B) { |
NewerOlder