mozilla/shumway — pull request #40 by yurydelendik (2012-10-09 16:08:21+00:00)
Title: Refactoring resolveMultiname

Profiles when running race3.swf (before and after)

```
resolveMultiname	23920	23.58%	2120.761ms	8065.534ms	0.337ms	0.015ms	2.943ms
runtime.js (line 406)
getQualifiedName	761745	18.35%	1649.635ms	2728.559ms	0.004ms	0.002ms	2.421ms
parser.js (line 567)
assert	1559768	15.11%	1358.641ms	1363.659ms	0.001ms	0ms	2.416ms
util.js (line 26)
getQName	740500	12.09%	1086.837ms	1761.468ms	0.002ms	0.001ms	1.897ms
parser.js (line 650)
isDynamic	610481	9.26%	832.969ms	1181.577ms	0.002ms	0.001ms	0.094ms
parser.js (line 309)
anonymous	827158	5.24%	471.587ms	471.587ms	0.001ms	0ms	0.047ms
parser.js (line 532)
isPublic	610482	3.88%	348.609ms	348.609ms	0.001ms	0ms	0.04ms
parser.js (line 305)
nameInTraits	130311	3.22%	289.557ms	289.557ms	0.002ms	0ms	0.058ms
runtime.js (line 391)
```

```
getQualifiedName	785537	15.56%	1685.881ms	2761.466ms	0.004ms	0.002ms	0.449ms
parser.js (line 567)
assert	1617532	12.1%	1310.929ms	1315.376ms	0.001ms	0ms	0.443ms
util.js (line 26)
resolveMultiname	22605	11.41%	1235.977ms	4732.574ms	0.209ms	0.012ms	20.262ms
runtime.js (line 422)
getQName	719161	9.26%	1003.488ms	1600.33ms	0.002ms	0.001ms	0.415ms
parser.js (line 650)
anonymous	538	4.86%	526.229ms	526.229ms	0.978ms	0.001ms	25.267ms
util.js (line 238)
anonymous	902867	4.86%	526.164ms	526.164ms	0.001ms	0ms	0.324ms
parser.js (line 532)
resolveMultinameInTraits	4600	2.91%	315.222ms	1260.73ms	0.274ms	0.011ms	0.907ms
runtime.js (line 405)
anonymous	177356	2.89%	313.291ms	447.141ms	0.003ms	0.001ms	0.105ms
parser.js (line 57)
anonymous	24220	2.51%	271.765ms	610.147ms	0.025ms	0.008ms	6.432ms
kanvas.js (line 247)
nameInTraits	116505	2.41%	261.041ms	261.041ms	0.002ms	0ms	0.374ms
runtime.js (line 393)
```