Jump to content
Registration disabled at the moment Read more... ×
Sign in to follow this  
Vandrovnik

tDictionary<>.SetCapacity

Recommended Posts

Hello,

 

I wanted to call tDictionary<>.SetCapacity prior to adding items to it, so that there is no need to re-hash items. Unfortunatelly, tDictionary<>.SetCapacity is private member. Why? Is it an intention, or a bug? Probably there is a way how to access even a private method...?

 

Kind regards,

 

Karel

 

Share this post


Link to post

Isn't this something you set when you create the dictionary? Does the spring4d implementation offer more functionality? 

  • Thanks 1

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×