defunkt / tomdoc

A TomDoc Ruby library.
http://tomdoc.org/
MIT License
114 stars 16 forks source link

cache output of sections to save splitting every time #12

Closed leejarvis closed 13 years ago

leejarvis commented 13 years ago

sections is referred to 4 or 5 times, in which it splits the raw tomdoc by \n\n every time. If we store this value we don't have to split it every time

trans commented 13 years ago

Hey could you pull down the latest, which includes the fix to raw, and re-submit this pull request? If I try to merge it now it's going to whine about the change to #tomdoc method that I just fixed per your other ticket. Thanks.

trans commented 13 years ago

Thanks, and sorry about that. I should have read all the issues before I released. Now I will wait patiently and not release 0.2.4 until tomorrow :-) If you have anything else you like to get in there let me know.

leejarvis commented 13 years ago

No problem, Thanks!