Thread overview
[Issue 11892] Ddoc should organize a module by symbol category
Jun 26, 2014
Jacob Carlborg
Dec 17, 2022
Iain Buclaw
June 26, 2014
https://issues.dlang.org/show_bug.cgi?id=11892

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #1 from hsteoh@quickfur.ath.cx ---
This may have impact on compilation times, since the ddoc generation code will have to walk the AST twice, once to categorize the symbols, the second time to output them in sorted order.

--
June 26, 2014
https://issues.dlang.org/show_bug.cgi?id=11892

--- Comment #2 from Jacob Carlborg <doob@me.com> ---
How about having one buffer per category and then merging them at the end before outputting them. Will that help?

--
June 26, 2014
https://issues.dlang.org/show_bug.cgi?id=11892

--- Comment #3 from hsteoh@quickfur.ath.cx ---
That might work, though it does significantly change the way the ddoc code works right now. But I'm no expert in the ddoc code, so I could be wrong (I've only seen bits and pieces of it, just enough to fix some bugs, not enough to have an accurate overview of how it works).

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11892

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--