Blender Git Commit Log

Git Commits -> Revision 7c324e7

March 2, 2015, 19:54 (GMT)
GHash: Add difference and symmetric_difference (with tests).

Also fix some issues in previous commits.

Notes about our 'symmetric_difference':
* name is taken from py, but our function takes multiple arguments,
and returns keys which are present in one and only one given ghash.
So we may want a better name for that
(real symmetric difference only accepts/works with two args)!
* Its code is a bit more complex than the others, think it's worth it though,
XOR is a really useful operation imho.

Commit Details:

Full Hash: 7c324e76a984f81caae43e1600da007ed4afd892
Parent Commit: 5bced60
Lines Changed: +360, -38

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020