]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
m_repeat Optimize the Levenshtein() function
authorattilamolnar <attilamolnar@hush.com>
Mon, 24 Jun 2013 19:32:10 +0000 (21:32 +0200)
committerattilamolnar <attilamolnar@hush.com>
Mon, 24 Jun 2013 19:32:10 +0000 (21:32 +0200)
commita7f61e181fa1859a8f3d8d233d55e71fc000f1e5
treea50a625c3ce0f15413bc5b596a7c3c9600b11ec3
parent4ab593d2a3f849579cc9ac389e42097aef6e9236
m_repeat Optimize the Levenshtein() function

New version uses 2 vectors instead of a matrix
Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog
src/modules/m_repeat.cpp