[Seaside] 2.21

Avi Bryant avi at beta4.com
Thu Feb 6 15:11:56 CET 2003


Hi all,

Just released a version 2.21, which consists of a single bug fix from 2.2:
there was some awful code in LRUCache that was causing significant
slowdowns for long lived sessions.  Fixed now.

Get it from http://beta4.com/seaside2/downloads/Seaside2.21.st.gz

You can also just file this in to a 2.2 image:

!WALRUCache methodsFor: 'as yet unclassified' stamp: 'ab 12/30/2002 11:01'!
at: key put: val
	|removals|
	super at: key put: val.
	ageTable at: val put: 0.
	removals _ OrderedCollection new.
	ageTable associationsDo:
		[:assoc |
		assoc value > max ifTrue: [removals add: assoc key].
		assoc value: assoc value + 1].
	removals do: [:ea | self remove: ea].! !

Cheers,
Avi



More information about the Seaside mailing list