Are there any Caching Frameworks for Delphi?

后端 未结 6 937
孤城傲影
孤城傲影 2021-01-06 02:25

Question: What Caching Frameworks available for Delphi and how well developed are they? If there aren\'t any then is there a widely-accepted way of achievin

6条回答
  •  感情败类
    2021-01-06 02:53

    Ok. I will probably end up feeling foolish about this, but what's the problem with the TStringList? I had been using a dynamic array of fairly structured data with a TStringList to find an element based on a string ID. Recently, I updated the TStringList to a THashedStringList. It may be a little faster, but nothing really remarkable yet. The StringList/Array arrangement has provided great performance on my application so far.

    I have only been caching 100 to 150 records so far, but I expect it will work fine up to maybe a couple of thousand. In the business I am in, that is a pretty big operation.

提交回复
热议问题