[erlang-questions] Erlang Syntax - again

Mats Cronqvist mats.cronqvist@REDACTED
Wed Mar 12 09:32:07 CET 2008

Robert Virding wrote:
> On 11/03/2008, *Mats Cronqvist* <mats.cronqvist@REDACTED 
> <mailto:mats.cronqvist@REDACTED>> wrote:
>     Jim McCoy wrote:
>     > ... Regardless of what records were
>     > intended to solve...
>     >
>       i believe that the original requirement was something like;
>     "access to
>     tuple elements by name, but with zero overhead compared to normal
>     tuple
>     access."
>       a pretty tall order (and, with hindsight, misguided)...
> Yes, this was one of the original requirements of our first/major 
> users. They wanted named fields but as fast as using tuples directly. 
> The system (computer+emulator) wasn't as fast in those days and they 
> felt they couldn't offer performance. It was not misguided then. 
> Anyway this meant that everything had to be done at compile-time, 
> which *is* very un-Erlangy.
  (with hindsight) i think it's obvious that a few percentage points of 
performance was not worth the drawbacks of records.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mats_cronqvist.vcf
Type: text/x-vcard
Size: 179 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080312/7d5e957e/attachment.vcf>

More information about the erlang-questions mailing list