powered by Jive Software

About the DirectoryRosterStore with smark 4.0.2

Hey, guys!

I just looked at Smark 4.0.2 source code;

About DirectoryRosterStore work is occupying an entire folder to store data;

Each Roster data stored in a separate file.

I think this will lead to frequent inefficiency IO operations (assuming I have a 1000 Roster);

Why not become a separate file to store information?

This is just my idea, we see how?

https://github.com/igniterealtime/Smack/blob/master/smack-core/src/main/java/org /jivesoftware/smack/DirectoryRosterStore.java

DirectoryRosterStore is meant to be a simple solution, nothing more. You can replace it with whatever you think statisfies your use-case better as long as it implements the RosterStore interface.

Of course if you want to contribute another RosterStore implementation, then this would be welcomed.

thank you Flow