yui/yui3 — pull request #222 by rgrove (2012-08-15 19:34:03+00:00)
Title: Y.State performance improvements

Backwards-compatible, low risk micro-optimizations for Y.State. In some browsers, common operations like `addAll()` and `getAll()` are as much as 2x faster.

See the benchmarks at http://jsperf.com/y-state-micro-optimizations

I ran all YUI unit tests using grover and got only a single failure in Y.Pjax, which is unrelated to these changes: https://gist.github.com/f81bead2a75a1d500e6c

While testing, I discovered that attribute-core and attribute-extras were missing a necessary dependency on the oop module, so I went ahead and fixed that as well.

### Running Locally

The built attribute modules and updated `yui` and `loader` build files are intentionally not included in order to keep the diffs clean. Before testing these changes, you'll need to build them:

```bash
$ cd src/attribute && ant all
$ cd ../yui && ant all
```