Thursday, October 30, 2008

Python - a comparison with C

Here you go..: http://blog.marcelotoledo.org/2007/08/10/how-to-write-a-spelling-corrector/

Here a spelling checker is implemented in Python and C. Python code is just 21 lines and C code is almost 190 lines. But for big dictionaries, C code performance is much better compared to Python version.

No comments: