This may seem like an absurd question, but is there a particular reason why MAX_BRANCHES is #defined as 12 in config.h?
Any particular reason for 12? Is it okay to make it higher?
We put it there in memory of my twelve sisters. ;-) Seriously -- there is no rationale behind it, feel free to change it at your convenience. If I was to do it again, I would probably put a dynamic structure there today.
-jiri
Alex Balashov wrote:
This may seem like an absurd question, but is there a particular reason why MAX_BRANCHES is #defined as 12 in config.h?
Any particular reason for 12? Is it okay to make it higher?
Hi, Can it be set to a value > 30 now? I remember 30 being the max at some point.
Thanks.
On 05/26/2010 09:28 PM, Zahid Mehmood wrote:
Can it be set to a value> 30 now? I remember 30
being the max at some point.
It seems to me, from my inspection of the code, Jiri Kuthan's answer, and a priori reasoning, that it can be set to any value, really.
On May 26, 2010 at 21:36, Alex Balashov abalashov@evaristesys.com wrote:
On 05/26/2010 09:28 PM, Zahid Mehmood wrote:
Can it be set to a value> 30 now? I remember 30 being the max at some point.
It seems to me, from my inspection of the code, Jiri Kuthan's answer, and a priori reasoning, that it can be set to any value, really.
Yes, you can, but then more memory will be used for each transaction (so there is a cost of seting it to a hi value, like 30 or 100).
We'll have to change it to some dynamic way of adding branches, but it's very low priority. I think you're the first one to complain in 9 years.
Andrei
I wasn't complaining :) I just wanted to confirm if there was an upper bound. So far I have not had the need for more than 30 branches.
Thanks for the clarification.