From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Performance of access type : a tiny mistake in the WikiBook ?
Date: Wed, 7 Oct 2009 13:59:46 -0700 (PDT)
Date: 2009-10-07T13:59:46-07:00 [thread overview]
Message-ID: <91ad7397-27a8-4b9d-811e-6e62d485645c@v2g2000vbb.googlegroups.com> (raw)
Hi folks,
I was looking at the WikiBook, the section about access types.
I do not know it is a tiny mistake or something I did not understood.
http://en.wikibooks.org/wiki/Ada_Programming/Types/access
In one place, it is said “ Depending on the implementation an access
might also render better performance than access all. ” which match
what I had believed for long, but later, there is a list of best to
worst performance comparing access techniques :
“
1) "in" modifier : parameter is passed into the subprogram.
2) "out" modifier : parameter is passed from the subprogram.
3) "in out" modifier : parameter may be modified by the subprogram.
4) access all : access to any (aliased) object.
5) pool access : the access is always within a storage pool and only
checks for not null are performed upon dereference.
6) anonymous access : complex "stack deeps level" checks are needed so
an "anonymous access" can be safely converted from and to an "access
all" or "pool access".
”
Pool Access is quoted after Access All, at position 5
Just a detail, but I wonder
next reply other threads:[~2009-10-07 20:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 20:59 Hibou57 (Yannick Duchêne) [this message]
2009-10-07 22:38 ` Performance of access type : a tiny mistake in the WikiBook ? (see below)
2009-10-07 23:30 ` Yannick Duchêne Hibou57
2009-10-08 0:30 ` (see below)
2009-10-08 0:48 ` Yannick Duchêne Hibou57
2009-10-08 9:11 ` Dmitry A. Kazakov
2009-10-08 9:55 ` Gautier write-only
2009-10-08 16:04 ` Yannick Duchêne Hibou57
2009-10-08 16:46 ` Yannick Duchêne Hibou57
2009-10-08 19:41 ` Gautier write-only
2009-10-09 6:14 ` Yannick Duchêne Hibou57
2009-10-09 18:51 ` sjw
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox