tcatm/ffmap-backend — pull request #16 by sargon (2014-02-04 14:57:45+00:00)
Title: nodedb.py: stop similar mac address check when parts are not equal

According to profiling results the "is_derived_mac" method is the most called, most time consuming function in ffmap-backend, except for the rrdtool image generation. The following patch contains a simple optimization, skipping the main part of the function if none manipulated parts of the mac address are not equal.