Cover fe ature 47 january 2012 Published by the ieee computer Society 0018-9162/12/$31. 00 2012 ieee


Figure 3.  Linked representation



Download 1,78 Mb.
Pdf ko'rish
bet11/32
Sana13.01.2022
Hajmi1,78 Mb.
#355100
1   ...   7   8   9   10   11   12   13   14   ...   32
Bog'liq
Software-for-infrastructure

Figure 3. 

Linked representation.

 

 



 

 

 



 

 



 



 

 



 



 





Figure 2. 

Compact representation.

 



 







51

JANUARY 2012

We should prefer sequential access of compact struc-

tures, not thoughtlessly use linked structures, and avoid 

general memory allocators that scatter logically related 

data. We must measure to avoid being blind-sided by un-

expected phenomena. Our systems are too complex for us 

to guess about efficiency and use patterns. 

You might say, “But I don’t use sequences of 100,000 ele-

ments.” Neither do I (most of the time), but using 10,000 lists 

of 100 elements has the same efficiency implications. To 

developers who write code for huge server farms, 100,000 

items are barely noticeable. Consider what’s needed to 

recognize a repeat visitor to a major website and retrieve 

that person’s preferences in time to display a personalized 

welcome screen. Compactness goes hand in hand with ef-

forts to subdivide larger datasets as well as with the design 

of algorithms to ensure concurrent execution.

8

For a small system such as an embedded processor, the 



differences between compact and linked structures are 

significant even for small datasets. Even individual object 

layouts can produce efficiency effects. Consider a simple 

vector of two-dimensional points:




Download 1,78 Mb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   ...   32




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish