Don’t store posts by recipient, generate them on the fly.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Sep 2014 20:02:19 +0000 (22:02 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Sep 2014 20:03:10 +0000 (22:03 +0200)
commitb1057c2e5f77a74a3d64c5ad9ff6b0c5894c4a73
treeafcd36be37fdc90bd9088c7706b738a5a76885d2
parentf2eaa4ab7f0055a704425f2159efaa5be46b7c5e
Don’t store posts by recipient, generate them on the fly.

Yes, this will result in worse performance of these methods as long as
there is no real database behind it. But there will be a database
behind all this. Some day.
src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java
src/test/java/net/pterodactylus/sone/database/memory/MemoryDatabaseTest.java