Skip to content

andrejivanov/wordComposer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Kata

run

put your wordlist.txt to ~/. and run

./graldew run

run unit tests with small test data

just for TDD and easy refactoring

./graldew clean test

Last tests

Giant list tests with 45425 words and 727 possible concatenations.

Dumb composer

  • Duration: waiting and waiting and waiting, canceled after 30 min.

Simple optimized composer

With prefiltered lists and parallel streams.

  • Duration 327557 ms ~ 5.5 min. (was not able to use any app on my pc in parallel)

Optimized composer

With search tree Inspired by solution in ruby.

  • Duration 69 ms.

very fast

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages