The Trunk: Morphic-ul.1158.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-ul.1158.mcz

commits-2
Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ul.1158.mcz

==================== Summary ====================

Name: Morphic-ul.1158
Author: ul
Time: 2 June 2016, 8:25:53.664006 pm
UUID: 875c3c7f-2813-4bc5-9c85-8ed8eb6f02cb
Ancestors: Morphic-mt.1157

- use #sort instead of #fullySort

=============== Diff against Morphic-mt.1157 ===============

Item was changed:
  ----- Method: MorphicAlarmQueue>>nextSequenceNumber (in category 'private') -----
  nextSequenceNumber
 
  (sequenceNumber := sequenceNumber + 1) = 16r3FFFFFFF ifTrue: [
  "Sequence number overflow... reassign sequence numbers starting at 1."
+ heap sort.
- heap fullySort.
  1 to: heap size do: [ :index |
  (heap at: index) sequenceNumber: index ].
  sequenceNumber := heap size + 1 ].
  ^sequenceNumber!