comp.lang.ada
 help / color / mirror / Atom feed
* Performance of access type : a tiny mistake in the WikiBook ?
@ 2009-10-07 20:59 Hibou57 (Yannick Duchêne)
  2009-10-07 22:38 ` (see below)
  0 siblings, 1 reply; 12+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-10-07 20:59 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-09 18:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07 20:59 Performance of access type : a tiny mistake in the WikiBook ? Hibou57 (Yannick Duchêne)
2009-10-07 22:38 ` (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox