Creating a hash from a database object

G

Guenther Sohler

Guest
In order to implement new functionality in virtuoso,
I see the need to calculate a hash, or at least a string representation
from a shape or instance in layout.

Properties to be included into the hash should be all its attributes(layer,
points, size,shape, orientation, but not the cellview where there are used
in.

Does such a function exist in skill, or how can i best code it .

Additionally i need to store these hashes into a binary tree for effective
searching time. Does the makeTable function in skill provide my needs
there ?

I generally intend to use skill for that, because i dont have access to
CDB in C(i would rather use C)

Thank you for your comments
 
Hi Guenther,

You can do almost everything with list in Skill.
If you are looking for something that looks like hashes, I think it's
worth giving a look at the Skill documentation's DATA STRUCTURES
chapter :

SKILL Language User Guide, chapter 4.
You can find out in this chapter about :
1. Disembodied Property Lists
2. Association Tables
3. Association Lists
And more ...

For having used hashes in Perl, I think these data structures are the
more close to what you're looking for.

Riad.
 

Welcome to EDABoard.com

Sponsor

Back
Top