abhishekkr/rubygem_xml_motor — comment on commit 087aa06fc56ba3d269d6bb7ae06c55764abf107e
File:  line 0
By abhishekkr:

first of all thanks for taking out your time for trying it and comments
I posted it in such locations for some 3party review, so this type of comment is exactly what it was meant for.
Other ways didn't got such feedbacks... so it was worth.

The gem is half baked (not the algo), and I'm building upon it.
The 1st point is new to me, thanks for that. I was aware of 2nd and am in process of fixing it.

The performance bit wouldn't be much problem if you implement it
http://justfewtuts.blogspot.com/2011/11/xml-motor-v003-mine-xml-once-multiple.html

> str = %Q{i=1,j=2\ni=1,j=3}
> xNodes = XMLMotorEngine._splitter_ str
> xTags = XMLMotorEngine._indexify_ xNodes
> result1 = XMLMotorEngine.pre_processed_content(xNodes, xTags, "h1")
> result2 = XMLMotorEngine.pre_processed_content(xNodes, xTags, "div", "class='wanted'")