(id)
| 1401 | // Use non-numeric keys to prevent V8 performance issues: |
| 1402 | // https://github.com/facebook/react/pull/7232 |
| 1403 | var getKeyFromID = function (id) { |
| 1404 | return '.' + id; |
| 1405 | }; |
| 1406 | var getIDFromKey = function (key) { |
| 1407 | return parseInt(key.substr(1), 10); |
| 1408 | }; |