Reduced peak memory usage for selections.
commit217a5f079a1182c5fc6b99fc04462d0ce8ae3ced
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Thu, 6 May 2010 08:44:43 +0000 (6 10:44 +0200)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Thu, 6 May 2010 08:44:43 +0000 (6 10:44 +0200)
treee4dab98119b30074e50d10e201dd236f33d049eb
parent32b8b7f72b03029affb4fdd7eb53e8f7dc47b288
Reduced peak memory usage for selections.

The selection compiler now frees subexpressions as soon as they become
unnecessary, reducing peak memory usage for compiling complex
selections.
src/gmxlib/selection/compiler.c
src/gmxlib/selection/selelem.c
src/gmxlib/selection/selelem.h