Skip to content

regex_game_of_life is slow on TruffleRuby #2711

Open
@gogainda

Description

@gogainda

Project: https://github.com/dmagliola/regex_game_of_life
In short it's implementation of Game of Life using RegExp

regex_gol_v2.rb: Final version described on my talk, using named captures to do the replacement also using Regex. The new interesting code is in method add_neighbour_capture

Noticed that v2 is considerably slower on TruffleRuby comparing to other implementations.
Not something is useful in real world, but may be used as an artificial benchmark.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions