[gameprogrammer] Re: faster lookup, lists, vectors, maps?
- From: Roger D Vargas <luo_hei@xxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 13 Jul 2007 11:33:42 -0400
Bob Pendleton escribió:
If all else is equal, then maps are faster. OTOH, the real question is
how often do you do the look and which is going to take the least amount
of time to implement. Also, will the size of these lists ever going to
grow?
The skill list will grow. Basic attributes (stats) are fixed, item
attributes are fixed for each individual item, but items can differ in
number of attributes.
--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] faster lookup, lists, vectors, maps?
- From: Roger D Vargas
- [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- From: Bob Pendleton
Other related posts:
- » [gameprogrammer] faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- » [gameprogrammer] Re: faster lookup, lists, vectors, maps?
If all else is equal, then maps are faster. OTOH, the real question is how often do you do the look and which is going to take the least amount of time to implement. Also, will the size of these lists ever going to grow?
- [gameprogrammer] faster lookup, lists, vectors, maps?
- From: Roger D Vargas
- [gameprogrammer] Re: faster lookup, lists, vectors, maps?
- From: Bob Pendleton