Description
Thinking about ways to improve MyFaces, I have realized we can use a table of preinitialized ids in UIViewRoot.createUniqueId(...). In that way, we can save some HashMap.get(...) calls and avoid instantiation of ids we can already know how they look like beforehand. A good number is preinitialize the first 50 ids for ResourceDependency components and other generated components.
I think it is worth to use Integer instead Long for the unique id generation too.