Jump to content
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×