#254: pbc compat: t/native_pbc/number.t:  New failure on some platforms
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |        Owner:  rurban
     Type:  bug      |       Status:  closed
 Priority:  normal   |    Milestone:        
Component:  core     |      Version:        
 Severity:  high     |   Resolution:  fixed 
 Keywords:  64bit    |         Lang:        
    Patch:  new      |     Platform:  all   
---------------------+------------------------------------------------------
Changes (by rurban):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 Applied -3 as r37366.
 https://trac.parrot.org/parrot/changeset/37366/

 This strategy still uses nativeptr stepping (fast) and not
 the more general stepping in bytes (slow but easier to understand).

 It might introduce a new 'cast increases required alignment' warning on
 cc,
 but not on gcc and msvc, and it is safe to use, since it points the
 cursor to a properly aligned address.

 2. Changing to stepping in bytes should get thorough testing, but would
 increase readability a lot. Maybe we find a way to get rid of your cast
 increases required alignment warning.

 I also would like to benchmark that change, esp. on big pbc's such as
 perl6.pbc

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/254#comment:28>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to