# Tutorial: Hashtables vs. Arrays

**URL:** <https://forum.kirupa.com/t/tutorial-hashtables-vs-arrays/326608>\
**Category:** web dev\
**Created:** [December 29, 2011, 8:31am UTC](https://forum.kirupa.com/t/tutorial-hashtables-vs-arrays/326608 "2011-12-29T08:31:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [December 29, 2011, 8:31am UTC](https://forum.kirupa.com/t/tutorial-hashtables-vs-arrays/326608/1 "2011-12-29T08:31:09Z")

</div>

[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Hi everyone,[/FONT][/FONT][/COLOR][/COLOR]  
[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]This is the happening place to discuss all things related to the [Hashtables vs. Arrays](http://www.kirupa.com/html5/hashtables_vs_arrays.htm) [/FONT][/FONT][/COLOR][/COLOR][COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]tutorial.  
[/FONT][/FONT][/COLOR][/COLOR]  
I tried to cover the interesting differences without going into too many details. What do you all think about that? Should I go into more detail? For example, I deliberately did not cover the worst case scenarios for hashtables, buckets, and how to optimize arrays to improve the performance.

[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Cheers,[/FONT][/FONT][/COLOR][/COLOR]  
[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Kirupa [/FONT][/FONT][/COLOR][/COLOR]:beam:
