-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved documentation #12
Improved documentation #12
Conversation
Coverage remained the same when pulling c32b0952df5b15e24b862536f37435d5f20baa75 on kaplun:improved-documentation into 8f4d763 on inveniosoftware:master. |
@@ -1,18 +1,15 @@ | |||
Welcome to intbitset's documentation! | |||
Welcome to ``intbitset``'s documentation! | |||
===================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=========================================
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd call the document simply "intbitset", dropping "welcome...".
and Python C extension to optimize speed and memory usage. | ||
and *Python C extension* to optimize speed and memory usage. | ||
|
||
On modern CPUs, *vectorial instruction sets* will be exploited to further optimize speed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of detail that belongs to the Note section where we speak about maxelem and stuff. It would be good if the beginning of the documentation is impactful. (I'll comment elsewhere on the structure.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to keep it in the README because it's what appears on Github, and on the Pypi. Somehow wanted to make further advertisement to intbitset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but vectorial instruction set or not is a kind of "detail" that may be put to note, not to the ABOUT overview, to keep it short. The numbers from the PERFORMANCE section speak about themselves... (BTW the future tense "will be exploited" may indicate this is not done yet...)
In addition to the above inline comments, one comment to the structure where it would be good to clearly separate usage section from performance section (that is kinda long):
Another thing is that on rtfd only contributing, changelog and license are separated in chapters; would be good to either separate others or include others, so that the overall table of contents would look nice. (following all ABOUT -> USAGE -> PERFORMANCE -> REFERENCE -> ... -> LICENSE chain) |
* Improves documentation by re-arranging its structure and introducing full discussion about performance merit of intbitset. * Overall, amends documentation to be compatible with reStructuredText. (closes inveniosoftware-contrib#8) Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
* Adds generic classifiers for Python 2 and 3, so that intbitset can e.g. show up in: <https://pypi.python.org/pypi?:action=browse&c=533> Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
@@ -639,7 +614,7 @@ cdef class intbitset: | |||
cpdef pop(intbitset self): | |||
"""Remove and return an arbitrary set element. | |||
|
|||
@note: intbitset implementation of .pop() differs from the native C{set} | |||
Note: intbitset implementation of .pop() differs from the native ``set`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kaplun Can you please look at this? Stil only Contributing, Changelog and License are singled out as chapters. |
introducing full discussion about performance merit of
intbitset.
Signed-off-by: Samuele Kaplun samuele.kaplun@cern.ch