[erlang-questions] run-time record limitations
Fri Jan 16 23:55:30 CET 2009
2009/1/16 deepblue <>
> I wish
> if I use a dict for my properties then I cant pattern match when Im
> searching the tables (select(), QLC, etc.) so thats a no go, since, as
> far as I can tell, I would have to iterate over every single dict item
> and compare them to the value that I need...
I don't really understand how you mean can't use pattern match, could you
give an example?
There would be not much more iteration over a dict then there would
searching in tables, it depends on your pattern how much scanning needs to
be done. One benefit with a dict is that there is no copying as everything
is in the same process.
Another factor to take into account is how big the tables are.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions