Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

1. In asp.net you can store data in the cache safe in the knowledge that if memory is a problem some of it will be dumped. I am creating a dll that will serve as an Excel addin. Within it there will be times at which an extremely large number of calculations will be carried out. Alot of the intermediate results will be the same though so I wish to cache them under a string id of the calculation arguments. I could obviously do this using a hashtable easily enough however I was wondering if there is a built in cache that will manage situations when memory runs low as per in asp.net.

 

2. If anyone can think of a better=faster way of storing intermediate results other than storing under a key equal to a concatenated argument list I would appreciate it.

 

3. Finally how many concatenations are required before using a stringbuilder becomes faster?

 

Cheers!

:)

Please check the Knowledge Base before you post.

"Computers are useless. They can only give you answers." - Pablo Picasso

The Code Net

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...