
Originally Posted by
kamsky
why do you need SAX/XML/Java Object for dictionary?
how difficult is dictionary with structure such as:
abacus=a calculator that performs arithmetic
as simple as ResourceBundle, it's easy. You dont need to have to EventHandler on visiting xml elements/attributes. For sure maps are faster than xml parsing.
Faster siguro ang maps kay i think iya man i-load sa memory ang mga keys. I am concern here kung dako na kaayo ang data. Just imagine na iyang i-load tanan keys sa memory. I think mopadulong gyud na silay ug parsing sa file if dako na kaayo ang data. Puwede siguro ilang i-follow ang implementation sa lucene.
In terms pud sa OOP mas maayo XML can be easily map to the Java Objects. I think properties file is not a structured.