ES2Data vs ES2Reader

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
arcifus
Posts: 4
Joined: Wed Jan 10, 2018 4:31 am

ES2Data vs ES2Reader

Post by arcifus »

Is ES2Data (via ES2Data.LoadAll) faster than ES2Reader (via ES2Reader.Create) for reading individual tagged items?

What are the pros/cons of using one vs the other?
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES2Data vs ES2Reader

Post by Joel »

ES2Data will be faster for tagged items as it caches the tags in one pass, whereas ES2Reader reads directly from the stream.

In almost all cases I would recommend using ES2Data. It's easier to use, and much easier to debug.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Locked