The z-order is now computed only at initialization by ordering the svg groups correctly. After that there's no need to raise certain groups because it no longer matters what order individual elements are added since their parent groups are in the correct order. This decreased computation time by ~15%
The z-order is now computed only at initialization by ordering the svg groups correctly. After that there's no need to raise certain groups because it no longer matters what order individual elements are added since their parent groups are in the correct order. This decreased computation time by ~15%