java - Storing resource files as hashmap like structure -


i @ minecraft directory , found resources (image, sound, binary-data) store in way hashmap or git repository.

here hashmap alike json files

hashmap json

here actual file system.

actual file system

my question is, why that(benefits?), how , correct term kind of storing resource file strategies?

it called b-tree. pros - constant lookup time.

sorry - small lookup time. log(n) exact. olivier


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -