08-28-2007 10:36 AM
@Qizhen wrote:
The map data actually should not expose to customers. We will finally hide it from users. So the label in it is meaningless.
Thanks for your reply.
Even if we don't see the exposed data structure, the labels should be carried correctly. For example if I wire a certain data type to "initialize" and later create an indicator at the "find" node, I expect the indicator to be labeled the same as the value type. If I delete the indicator again and change one of the labels in the data type, then again create a new indicator, it should reflect the changes.
08-28-2007 08:47 PM
Yes, you are right.
altenbach :
Even if we don't see the exposed data structure, the labels should be carried correctly. For example if I wire a certain data type to "initialize" and later create an indicator at the "find" node, I expect the indicator to be labeled the same as the value type. If I delete the indicator again and change one of the labels in the data type, then again create a new indicator, it should reflect the changes.
09-18-2007 06:00 PM
Thanks for working on this, Qizhen. Our application would greatly benefit from a good container implementation. I would prefer a hash table as well, since we do lots of lookups every second. Because good hash functions can be problem-specific, it would be neat to provide a VI template for the hash function and then allow the user to provide a strictly typed VI reference for a replacement hash function when initializing the map. If that input were unwired, then a default hash could be used.
@Qizhen wrote:It is because that our Map container is for general purpose. The data numbers in the Map is uncertain. It's hard to select a suitable Hash Function for it. When the data number is huge, collision always happens. In this case, the Hash Table is not as efficient as the binary tree.
tchristm 写:
Is there a reason that you implemented your Map as a tree instead of a Hash Table? I thought those had faster lookup than Tree-backed maps.
However, we could provide a Hash Map besides the binary tree Map, just like the C# language. And let customer chose a suitable Map for his application.
09-27-2007 09:20 PM
09-27-2007 09:29 PM
The information on Labs web page hasn't been updated. But this version only support LabVIEW 8.5.
Mao.Li 写:
Thank you all for your concern about LabVIEW Generic Container Map! Now it has some changes including:
1) Support LabVIEW 8.5(and only support LabVIEW 8.5 or later).
2) VIs using the LabVIEW Generic Container Map can be built into EXE now.
3) Added context help for palette.
4) Fixed the bug in the example "List All Items.vi".
5) Fixed the mismatched labels in example "Create Address Book.vi".
6) Renamed the output parameter "find" of Find to "found?"
7) Some updates in the User Manual.
Please re-download the LabVIEW Generic Container Map and have a try. Your feedback is highly appreciated!
09-28-2007 11:41 AM
11-27-2007 02:38 AM
11-27-2007 03:52 AM
Qizhen wrote:
Have anyone already used this in your products?