Nested hash tables?

I work on the Game Engine in Java and try to make the decision-making process for screen drawing the least amount of time. So I used a lot of HashTables nested in HashTables. I know this may be the wrong coding practice, but I really want to know if there is any nesting depth that will actually disrupt my program?

+3
source share
3 answers

No, depth doesn't matter (until memory runs out, at least)

Just use HashMapinsteadHashtable

+2
source

, , , - : .. "" . - , .

, , , / -.

, - -.

+2

? . , -. , , , BSP.

, , ().

0

All Articles