Commit Graph

24 Commits

Author SHA1 Message Date
abalabahaha
8614d4b2a5 Less CPU on cache update 2016-03-15 22:04:52 -07:00
abalabahaha
e525e3b722 Copy paste fail 2016-03-15 22:04:52 -07:00
abalabahaha
42bedbeee4 Attempt to fix cache crash 2016-03-15 22:04:44 -07:00
abalabahaha
47ecc934f1 Attempting forceFetchUser callback 2016-02-20 18:33:36 -08:00
abalabahaha
9173ded903 Minor patching 2016-02-02 05:59:55 -08:00
abalabahaha
6f7bd987b8 Allow get/getAll to take a function only 2016-01-31 22:37:31 -08:00
abalabahaha
580f260933 Support for regex/function in get/getAll 2016-01-31 22:30:02 -08:00
Neto Becker
b3d5197013 removed ES6 function calls 2016-01-15 15:11:21 +01:00
Amish Shah
2000b62b36 fixed references to update items 2016-01-01 18:27:08 +00:00
Amish Shah
8f5722d242 Token Caching now works 2015-12-14 18:06:03 +00:00
Amish Shah
8eb4c47f79 Client now emits unknown and hidden some properties of Cache
Cache.discrim and Cache.discrimCache are now hidden from for..in
2015-12-12 17:32:20 +00:00
Amish Shah
cb58bc5414 Build changes & minor changes to Cache 2015-12-12 17:31:28 +00:00
qeled
a369ef2788 Improve Cache class performance
Use hashmap instead of array for caching by discriminator

Optimize `get` method by using `for` loop instead of `forEach`
and returning hashmap cache for queries by discriminator
2015-12-10 02:26:30 +03:00
Amish Shah
ff7adf1cf7 basic speed improvement - eats more memory 2015-12-06 20:53:23 +00:00
Amish Shah
ac2398e47c started working on bug fixes and test scripts 2015-12-04 20:30:11 +00:00
Simon Schick
faa744b1e3 Use import/export since we are using babel, removed unused imports 2015-11-28 17:57:22 +01:00
hydrabolt
4ba90f36fe Added cache.random() and node engine to package.json 2015-11-21 18:35:51 +00:00
hydrabolt
10ea6a9336 Documented Cache 2015-11-20 16:36:32 +00:00
abalabahaha
224cca1e31 updateRole and deleteInvite 2015-11-19 09:40:15 -08:00
hydrabolt
6bca494ddc Added msg.isMentioned 2015-11-18 17:24:15 +00:00
hydrabolt
7175218ecf Fixed server update listener 2015-11-01 14:09:00 +00:00
hydrabolt
4b4b7d6a47 Added updateMessage 2015-10-31 23:23:48 +00:00
hydrabolt
a333548c00 Added deleting messages 2015-10-31 23:12:14 +00:00
hydrabolt
6064888f21 More rewrites 2015-10-31 18:03:35 +00:00