Store all snowflakes in a separate array, achieving performance increase of about 10% for the whole engine on winter maps
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
height="51.200001"
width="51.200001"
version="1.0"
viewBox="0 0 48 48"
id="svg2566">
<defs
id="defs2568">
<radialGradient
r="9.9204998"
gradientTransform="matrix(-0.12758,1.4161,-1.6301,-0.14685,17.488,15.561)"
cx="-1.0017"
cy="0.99004"
gradientUnits="userSpaceOnUse"
id="radialGradient3702">
<stop
offset="0"
style="stop-color:#eeeeec"
id="stop4022" />
<stop
offset="1"
style="stop-color:#555753"
id="stop3680" />
</radialGradient>
</defs>
<g
id="layer1">
<g
transform="matrix(1.2962,0,0,1.2962,-5.4212147,-7.1285265)"
id="g4090">
<ellipse
ry="6.3639612"
rx="3.6239223"
cy="24.665476"
cx="8.7504463"
transform="matrix(1.416,0,0,1.2586,-2.6676,-6.2007)"
style="color:#000000;fill:#aaaaa6;fill-opacity:1;stroke:#5d615f;stroke-width:0.57792002;stroke-linecap:round;stroke-linejoin:round"
id="path4076" />
<ellipse
ry="7.3471932"
rx="4.1838183"
cy="25.01948"
cx="10.473573"
style="color:#000000;fill:#c0c0be;fill-opacity:1;stroke-width:1.15450001"
id="path4060" />
<ellipse
ry="6.3639612"
rx="3.6239223"
cy="24.665476"
cx="8.7504463"
transform="matrix(1.0814,0,0,1.0814,1.2327,-1.8299)"
style="color:#000000;fill:#93958f"
id="path4058" />
<ellipse
ry="6.3639612"
rx="3.6239223"
cy="24.665476"
cx="8.7504463"
transform="matrix(1.1807,0,0,1.077,-0.60894,-1.7217)"
style="color:#000000;opacity:0.39560002;fill:none;stroke:#ffffff;stroke-width:0.68417001;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="path3279" />
</g>
<path
d="M 9.4807,18.243 16.57,12.118 16.341,37.201 9.137,31.676 C 6.6165,29.614 6.1582,20.419 9.4807,18.243 Z"
style="color:#000000;fill:#9b9b8f;fill-rule:evenodd;stroke:#6f726f;stroke-linecap:round;fill-opacity:1;stroke-opacity:1"
id="path4542" />
<path
d="m 7.5384,21.987 4.0546,-3.039 -0.251,3.537 -3.9638,0.661 z"
style="color:#000000;fill:#ffffff;fill-rule:evenodd;fill-opacity:0.52972257"
id="path4544" />
<path
d="M 8.2035,30.371 12.644,33.94 12.087,31.512 7.6111,29.009 Z"
style="color:#000000;opacity:0.76923002;fill:#ffffff;fill-opacity:0.70671833"
id="path3672" />
<g
transform="matrix(1.0969,0,0,1.5093,-4.217,-12.118)"
id="g4006">
<path
d="M 23.75,14 C 21.81,14.049 20.013,14.683 18.5,15.688 18.133,15.264 17.604,15 17,15 c -0.034,0 -0.087,10e-4 -0.125,0 -0.028,0 -0.069,-0.003 -0.094,0 C 15.773,15.102 15,15.965 15,17 c 0,0.604 0.264,1.133 0.688,1.5 C 14.639,20.08 14,21.962 14,24 c 0,2.034 0.612,3.922 1.656,5.5 C 15.243,29.87 15,30.402 15,31 c 0,1.104 0.896,2 2,2 0.604,0 1.133,-0.264 1.5,-0.688 1.58,1.049 3.462,1.688 5.5,1.688 2.038,0 3.92,-0.639 5.5,-1.688 0.367,0.424 0.896,0.688 1.5,0.688 1.104,0 2,-0.896 2,-2 0,-0.604 -0.264,-1.133 -0.688,-1.5 C 33.361,27.92 34,26.038 34,24 34,21.962 33.361,20.08 32.312,18.5 32.736,18.133 33,17.604 33,17 c 0,-1.104 -0.896,-2 -2,-2 -0.034,0 -0.087,10e-4 -0.125,0 -0.028,0 -0.069,-0.003 -0.094,0 -0.504,0.051 -0.962,0.298 -1.281,0.656 -0.007,-0.004 -0.025,0.005 -0.031,0 C 27.895,14.62 26.025,14 24,14 c -0.086,0 -0.164,-0.002 -0.25,0 z"
style="color:#000000;fill:url(#radialGradient3702);fill-rule:evenodd;stroke:#475154;stroke-width:1.47669995;stroke-linecap:round;stroke-opacity:1"
id="path3726" />
<path
d="M 23.75,14 C 21.81,14.049 20.013,14.683 18.5,15.688 18.133,15.264 17.604,15 17,15 c -0.034,0 -0.087,10e-4 -0.125,0 -0.028,0 -0.069,-0.003 -0.094,0 C 15.773,15.102 15,15.965 15,17 c 0,0.604 0.264,1.133 0.688,1.5 C 14.639,20.08 14,21.962 14,24 c 0,2.034 0.612,3.922 1.656,5.5 C 15.243,29.87 15,30.402 15,31 c 0,1.104 0.896,2 2,2 0.604,0 1.133,-0.264 1.5,-0.688 1.58,1.049 3.462,1.688 5.5,1.688 2.038,0 3.92,-0.639 5.5,-1.688 0.367,0.424 0.896,0.688 1.5,0.688 1.104,0 2,-0.896 2,-2 0,-0.604 -0.264,-1.133 -0.688,-1.5 C 33.361,27.92 34,26.038 34,24 34,21.962 33.361,20.08 32.312,18.5 32.736,18.133 33,17.604 33,17 c 0,-1.104 -0.896,-2 -2,-2 -0.034,0 -0.087,10e-4 -0.125,0 -0.028,0 -0.069,-0.003 -0.094,0 -0.504,0.051 -0.962,0.298 -1.281,0.656 -0.007,-0.004 -0.025,0.005 -0.031,0 C 27.895,14.62 26.025,14 24,14 c -0.086,0 -0.164,-0.002 -0.25,0 z"
style="color:#000000;fill:#9c9c90;fill-rule:evenodd;fill-opacity:1"
id="path3507" />
<circle
r="9.375"
cy="9.375"
cx="9.375"
transform="matrix(0.84698,0,0,0.91142,16.71,15.45)"
style="color:#000000;fill:#313537;fill-rule:evenodd;stroke:#454d52;stroke-width:0.83832002;stroke-linecap:round;stroke-opacity:1;fill-opacity:1"
id="path3636" />
<ellipse
cy="24.097544"
cx="23.674191"
style="color:#000000;fill:#505558;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.52743274;stroke-linecap:round;stroke-opacity:1"
id="path3636-2"
rx="5.6859865"
ry="6.1185889" />
<ellipse
ry="3"
rx="3.4431562"
cy="24.0571"
cx="22.893705"
style="color:#000000;fill:#8b9396;fill-opacity:1;fill-rule:evenodd;stroke:#444444;stroke-width:0.70748819;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3519" />
<circle
r="0.5"
cy="16.5"
cx="16.5"
transform="matrix(1.3125,0,0,1.3125,-4.6577,-5.0938)"
style="color:#000000;fill:#2e3436;fill-rule:evenodd"
id="path3718" />
<circle
r="0.5"
cy="16.5"
cx="16.5"
transform="translate(15.222,0.25)"
style="color:#000000;fill:#2e3436;fill-rule:evenodd"
id="path3720" />
<circle
r="0.5"
cy="16.5"
cx="16.5"
transform="translate(15.222,14.969)"
style="color:#000000;fill:#2e3436;fill-rule:evenodd"
id="path3722" />
<circle
r="0.5"
cy="16.5"
cx="16.5"
transform="matrix(1.375,0,0,1.375,-5.6889,8.8125)"
style="color:#000000;fill:#2e3436;fill-rule:evenodd"
id="path3724" />
</g>
<path
d="m 36.088,32.866 c 0.917,-2.165 1.481,-5.158 1.481,-8.438 0,-3.28 -0.564,-6.274 -1.481,-8.438"
style="color:#000000;fill:none;stroke:#3465a4;stroke-linecap:round;stroke-opacity:1"
id="path3488" />
<path
d="m 39.839,35.703 c 1.226,-2.893 1.979,-6.893 1.979,-11.275 0,-4.383 -0.753,-8.383 -1.979,-11.275"
style="color:#000000;fill:none;stroke:#3465a4;stroke-linecap:round;stroke-opacity:1;opacity:0.8"
id="path3494" />
<path
d="m 43.487,39.708 c 1.662,-3.92 2.682,-9.341 2.682,-15.28 0,-5.94 -1.02,-11.361 -2.682,-15.281"
style="color:#000000;fill:none;stroke:#3465a4;stroke-linecap:round;stroke-opacity:1;opacity:0.6"
id="path3496" />
</g>
<metadata
id="metadata7893">
<rdf:RDF>
<cc:Work>
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
<dc:publisher>
<cc:Agent
rdf:about="http://openclipart.org/">
<dc:title>Openclipart</dc:title>
</cc:Agent>
</dc:publisher>
<dc:title></dc:title>
<dc:date>2010-04-03T15:19:58</dc:date>
<dc:description>An icon from Tango Project. Since version 0.8.90 Tango Project icons are Public Domain.</dc:description>
<dc:source>https://openclipart.org/detail/36601/tango-audio-volume-high-by-warszawianka</dc:source>
<dc:creator>
<cc:Agent>
<dc:title>warszawianka</dc:title>
</cc:Agent>
</dc:creator>
<dc:subject>
<rdf:Bag>
<rdf:li>externalsource</rdf:li>
<rdf:li>icon</rdf:li>
<rdf:li>tango</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>