Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我哪一个更好地用于 xml 解析 - DOM 或 Castor(标准是更少的内存使用)?
两者都将在内存中创建一个包含所有未编组对象的对象图。在内存使用方面,我不会期望一个比另一个有很大的优势。