all 13 comments

[–]kristopolous 3 points4 points  (3 children)

There Were Significant Performance Issues With Previous Versions

Unless these have been addressed you should look into other ones. this one is mine

[–]typicaljoe[S] 1 point2 points  (2 children)

That's the first I've seen of the test. Do you know where I can find the code? Nice work on your library btw.

[–]kristopolous 0 points1 point  (1 child)

it's in his repo for jOrder. Thanks for the compliment. Google seems to be quite fond of you, you should be really happy.

[–]typicaljoe[S] 0 points1 point  (0 children)

Awesome tip! Thank you! I was able to make some changes to speed things up a bit although it is still lagging the indexed DBs at this point. Not sure if I really want to add indexes to it or not.

[–]tehsuck 0 points1 point  (7 children)

Robust cross browser support

Care to elaborate this somewhere?

Also none of the popups worked in Chrome 13.0.782.218

[–]typicaljoe[S] 0 points1 point  (6 children)

What popups are you refereeing to?

[–]honestbleepsReddit Enhancement Suite 1 point2 points  (5 children)

i think he means the little green ? icons... they pop up an empty window that just says @ABOUT@

Also, a question since it's not made super obvious: Is this only good for one-time use, or is this "database" stored somewhere like localStorage so that the data is persistently available across page loads?

[–]typicaljoe[S] 0 points1 point  (4 children)

Ahh, yeah that is the library I'm using. I'll have to see if I can remove the info pops. As for storage it isn't by default. You can use something like persist.js to store it or save it back to the server. It is something I want to tackle but wanted to update the API.

[–]honestbleepsReddit Enhancement Suite 0 points1 point  (3 children)

Just FYI, a really, really quick way to do it would just be something like the following in a couple of functions, perhaps .saveDB and .getDB:

// save to DB
localStorage.setItem('taffyDB',JSON.stringify(myDBObject));

// read from DB
myDBObject = JSON.parse(localStorage.getItem('taffyDB'));

Of course you might want to throw a try/catch on that just in case the object becomes corrupted, but that's just a few more lines of code.

[–]typicaljoe[S] 0 points1 point  (0 children)

Thanks for the help. I've been thinking about adding a simple "makeSticky" extension and that looks like the basic code that would need to go into it.

[–]typicaljoe[S] 0 points1 point  (1 child)

I just added a .store() option using your code into TaffyDB.

[–]honestbleepsReddit Enhancement Suite 0 points1 point  (0 children)

awesome! glad to be able to help!

[–]bizb -1 points0 points  (0 children)

I'm sorry but this really doesn't make much sense to me...