Diff options
authorJamie Couture <jamie.couture@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
ui-ssdiff: move LCS table away from the stack
Printing deferred line changes for files containing long lines would cause a segfault. - limit LCS table size: 128x128. - move LCS table to global context: avoid allocating/freeing memory for every deferred line change. Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
Diffstat (limited to 'ui-ssdiff.c')
-rw-r--r--ui-ssdiff.c33
1 file changed, 31 insertions, 2 deletions