#13352: Running time improvement of the bitset_len method
---------------------------------+----------------------------
Reporter: dcoudert | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: misc | Resolution:
Keywords: | Merged in:
Authors: David Coudert | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+----------------------------
Comment (by ncohen):
Hmmmmmm... Well, it seems that this feature is only available in gcc 4.8+.
I asked Volker for his advice on this ticket (or rather on the .c file I
uploaded), and he told me that we should check for both gcc 4.8+ and x86
(ifdef `__i386__`).
Besides, he saw on that link
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041, though I can't find
out where on the page) that GCC was about to patch that, and improve the
generic version of {{{__builtin_gcc}}}. If that's the case, perhaps we
should just use theirs, waiting for the patch to be merged with a future
gcc release. Otherwise we can use the MIT HAKMEM version indeed.
I'll try to send a version with both codes today. And we'll remove the old
one in a couple of years `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/13352#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.