« Previous | Next » 

Revision 73d12eab

ID73d12eaba64149631a62c4ac5e2fd9039950872d

Added by Iustin Pop about 12 years ago

Small simplification in tryBalance

Instead of computing the bad/good node lists separately (in effect
iterating twice over the all_nodes list and also creating that list
twice from the container), let's use 'partition' and do a small
improvement.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences