Vote UpVote

A generic cache

Lars Fosdal – In my previous article about a generics based case statement for strings, I commited many sins towards the Church Of Pure Pascal :)One of them was to not check for prior art. Sergey Antonov aka 0xffff did something similar back in April 2010 (Note: two links!).So, to make penance for my lack of purity (and have a chance to sin some more), I have tried to take the good parts of the concept and create something less ugly, and more comfortable to use.I rewrote the generic class and named it TCache. I kept the configurable key type, and I made the lookup value configurable as well. Basically, ...
Favorite? Off-Topic? Lars Fosdal @ 2010-12-05 11:00


Visits: 954
Votes: 5
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Chris Rolliston
JC Chu
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)