Start tdom Tcl_ObjType reform.
Update from trunk.
Continue work: tdomNodeType works, next step will be to use that.
Return tdomNodeType Tcl_Objsfrom a couple of methods (still some to do), if in token mode.
Most obvious, low hanging fruits of the tdomNodeType Tcl_Obj reform are harvested now. A lot of (if not most) operations in token mode are faster (some micro-benchmark measurements say roughly double speed (or even more)). Even operations in cmd mode seem to be a little bit faster, for whatever reasons. Valgrind checked test suite run is still fine. Because this are changes within the heart of the extension, I'll test this futher in real-live applications, before merging this into trunk.
Made tcldom_returnNodeOjb static.
Enhanced bench suite.
Improved speed of operations in node token mode notable. This is achieved by introducing a Tcl_Obj type tdomNodeType. Tcl_Objs of typ tdomNodeType are created without string representation, saving malloc costs until string representation isn't needed (which is typical). Additionally, DOM node identification from token is faster with tdomNodeType Tcl_Objs.