K
Ken
I have a binary tree in VB NET and insertions seem to be slow.
The program receives data from one source and inserts it into the tree.
The program receives data from another source and looks the data up in the
tree.
When inserting data into the tree, access seems to be denied the other
thread while the insert(s) are taking place. (250 - 3000 records to insert
at time)
I currently have no synchronization in place.
Should I use "SyncLock" or "Monitor" to control the access of each of the
threads?
I have not had this problem with VB6 or VC++6. I thought VB NET would at
least be an improvement over VB6, but that does not seem to be true in this
case - unless, of course, I do require some synchronization method to
achieve the same throughput.
Any ideas or thoughts would be welcome.
The program receives data from one source and inserts it into the tree.
The program receives data from another source and looks the data up in the
tree.
When inserting data into the tree, access seems to be denied the other
thread while the insert(s) are taking place. (250 - 3000 records to insert
at time)
I currently have no synchronization in place.
Should I use "SyncLock" or "Monitor" to control the access of each of the
threads?
I have not had this problem with VB6 or VC++6. I thought VB NET would at
least be an improvement over VB6, but that does not seem to be true in this
case - unless, of course, I do require some synchronization method to
achieve the same throughput.
Any ideas or thoughts would be welcome.