K K Kaleem Oct 15, 2016 o(1) means constant lookup speeds, whereas o means the speed will depend on the amount of entries within the collection. not that lookup time should even matter for something as simple as commands, he was still wrong
o(1) means constant lookup speeds, whereas o means the speed will depend on the amount of entries within the collection. not that lookup time should even matter for something as simple as commands, he was still wrong
K K Kaleem Oct 14, 2016 just to not clutter that thread, the reason i said o(1) is because the person stated that 'to use 1 hashmap for all commands is 1 slow af'
just to not clutter that thread, the reason i said o(1) is because the person stated that 'to use 1 hashmap for all commands is 1 slow af'