Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How fast is to retrieve date from ETS table
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ulf Wiger  
View profile   Translate to Translated (View Original)
 More options Jan 11 2012, 11:04 am
From: Ulf Wiger <u...@feuerlabs.com>
Date: Wed, 11 Jan 2012 17:04:52 +0100
Local: Wed, Jan 11 2012 11:04 am
Subject: Re: [erlang-questions] How fast is to retrieve date from ETS table

Thanks for correcting me. I thought as much*, but then did some sloppy grep:ing and was misled. :)

I assume it's copy_struct() in one direction (storing) and copy_shallow() in the other?

BR,
Ulf W

* As in, Björn G told me some 5-6 years ago, but I forgot the particulars.

On 11 Jan 2012, at 16:59, Sverker Eriksson wrote:

> Ulf Wiger wrote:
>> :
>> The actual code is in $ERL_TOP/erts/emulator/beam/copy.c (copy_struct()), or:

>> https://github.com/erlang/otp/blob/master/erts/emulator/beam/copy.c#L191

> Copy from ETS actually uses copy_shallow() which is simpler and even more effective as the term is known to be contained within one continuous block.

> https://github.com/erlang/otp/blob/master/erts/emulator/beam/copy.c#L919

> /Sverker, Erlang/OTP Ericsson

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.