Do not pass a qbitarray of channelflags if they are all true
The composite ops optimize when an empty channelflags variable is passed: all channels are then assumed to be turned on. This makes a difference when doing a valgrind run, where before this patch filling an area would spend ~20% of cpu time in testBit and after the patch only ~2%. CCBUG:268212
parent
64d67fc7
Please register or sign in to comment