| commit | d1a04a40211d0d7f4a662c71e2e7f6dd18761197 | [log] [tgz] |
|---|---|---|
| author | Nolan Lawson <nolan.lawson@gmail.com> | Sun Jan 11 18:52:45 2015 -0500 |
| committer | Nolan Lawson <nolan.lawson@gmail.com> | Thu Jan 29 21:38:16 2015 -0500 |
| tree | 9a3aafc748fea3120021daba63d95ef493323788 | |
| parent | 263fd7fdb9fd7f4c0b8026bcdf95b19b677e552a [diff] |
(#3379) - prefer readAsArrayBuffer to BinaryString I have no evidence that this produces better performance, but my intuition tells me so. It just seems silly to convert a Blob to a binary string just for the purposes of MD5 hashing. Presumably ArrayBuffers are better at memory management.
PouchDB was written to help web developers build applications that work as well offline as well as they do online, applications save data locally so the user can use all the features of an app even while offline and synchronise the data between clients so they have up to date data wherever they go.
PouchDB is a free open source project, written in Javascript by these wonderful contributors and inspired by Apache CouchDB.
To get started using PouchDB check out our Documentation and the API Documentation.
If you want to get involved then check out the contributing guide
var db = new PouchDB('dbname'); db.put({ _id: 'dave@gmail.com', name: 'David', age: 66 }); db.changes().on('change', function() { console.log('Ch-Ch-Changes'); }); db.replicate.to('http://example.com/mydb');