[squeak-dev] The Trunk: Collections-ul.551.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 15 19:23:04 UTC 2013


Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.551.mcz

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

Name: Collections-ul.551
Author: ul
Time: 15 December 2013, 8:21:59.982 pm
UUID: 185f3154-6e81-495e-9cf2-27e2ff132f54
Ancestors: Collections-dtl.550

Removed migration code from LRUCache for real.

=============== Diff against Collections-dtl.550 ===============

Item was removed:
- ----- Method: LRUCache>>isMigrated (in category 'migration') -----
- isMigrated
- 
- 	^map notNil!

Item was removed:
- ----- Method: LRUCache>>migrate (in category 'migration') -----
- migrate
- 
- 	self isMigrated ifTrue: [ ^self ].
- 	head := Array new: 2.
- 	head 
- 		at: 1 put: head;
- 		at: 2 put: head.
- 	map := PluggableDictionary integerDictionary.
- 	values reverseDo: [ :each |
- 		| node |
- 		node := { nil. nil. each first. each third }.
- 		map at: each first put: node.
- 		self moveToFirst: node ].
- 	values := nil
- 		!



More information about the Squeak-dev mailing list