Skip to content

Conway's Game of Life in V, where each commit tries one new performance optimization.

Notifications You must be signed in to change notification settings

familyfriendlymikey/game-of-life.v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Game Of Life Benchmarks

Impl Without Stdout With Stdout
Padded 2D Array 561ms 1387ms
Padded 1D Array 395ms 1190ms
Padded 1D Array + write_rune 400ms 1183ms
Padded 1D Array + []u8 85ms 922ms
Padded 1D Array + []u8 + Preallocate 2 Arrays 44ms 899ms
Unpadded 1D Array + []u8 + Preallocate 2 Arrays 100ms+ untested
Padded 1D Array + strings.Builder + virtual buffer 273ms 356ms
Padded 1D Array + []u8 append + virtual buffer 246ms 348ms

About

Conway's Game of Life in V, where each commit tries one new performance optimization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages