« mplayer vs kmslasergame »

Erlang sudo solver

2009. Nov. 17.

Permalink 01:42:40 am, by vmiklos, 135 words   English (US)
Categories: hacking

Erlang sudo solver

First, sorry I’m not yet publishing any code. It’s about there is a race at the uni where the fastest implementation wins, so I don’t want to share anything before that ends. It’ll end in a month, actually. ;)

Other than that, it’s a generic sudoku solver, it can solve NxN sodukus, not only 9x9 and it handles extra rules. A detailed description is here (gt).

But of course the purpose of this post is to bookmark a few useful page I found while working on my implementation:

The important part of the later links is three lines:

1> fprof:apply(foo, create_file_slow, [junk, 1024]).
2> fprof:profile().
3> fprof:analyse().

That makes profiling Erlang programs really easy, once you get used to the output, which is a bit weird for the first time. :)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)
July 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Stats

Összesen 1,455 bejegyzés és 307 megjegyzés.

Most views

  • Sparse checkout example in git 1.7.0 (1,422)
  • winning london (987)
  • pacman -Sy: rsync-like optimization (888)
  • pacman-g2 -Qt bug (876)
  • gmane export (853)
  • More...
blogging soft