Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How to make a reference to a hash cell

by Marshall (Canon)
on Apr 28, 2018 at 22:24 UTC ( [id://1213745]=note: print w/replies, xml ) Need Help??


in reply to How to make a reference to a hash cell

I basically agree with the posts from hippo, haukex and LanX

There is no need to put a reference to a course hash table in the student structure.
Put the course hash key instead.
A Perl hash lookup is very fast..

If the number of students or courses is "small", there won't be a performance problem.
"small" in this situation is like 100,000.
If one of the tables is more than that, then an SQL DB will yield better performance.

  • Comment on Re: How to make a reference to a hash cell

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found