#13352: Running time improvement of the bitset_len method
---------------------------------+------------------------------------------
       Reporter:  dcoudert       |         Owner:  jason       
           Type:  enhancement    |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.3    
      Component:  misc           |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  David Coudert  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------

Comment (by leif):

 Replying to [comment:3 dcoudert]:
 > Replying to [comment:2 leif]:
 > > Not sure what the `parallel` refers to ... ;-)
 > In fact, the 4 lines {{{ n = __COUNT32__(n, 0) }}} can be executed in
 parallel

 Well, obviously not, since you have the data dependence on `n`. ;-)


 [[BR]]

 Btw., you should use `UINT32_C(1)` instead of `0x1u` etc., and e.g.
 `UINT32_MAX` instead of `(<uint32_t>-1)` (Cython code) etc.

 The types of the shift parameters (of `__TWO??__()`) are slightly
 overdim'ed...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13352#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to