Blender Git Loki
Git Commits -> Revision 7c324e7
Revision 7c324e7 by Bastien Montagne (temp-ghash-experiments) 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