[erlang-questions] How to reduce the build time when use record?

Richard A. O'Keefe <>
Mon Mar 11 21:29:57 CET 2013


On 11/03/2013, at 10:48 PM, 饕餮 wrote:

> When pass  the record to another function in code.
> It will take tons of time to rebuild the project when the record is big.

It won't.  Passing the largest record you an imagine to
another function takes no longer than passing the number 0.

Sending a large amount of data to another *process* involves
copying, but function calls do *not*.

> How to reduce the build time?

What made you think there _was_ any significant time taken?
What benchmarks did you run?




More information about the erlang-questions mailing list