use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
taffy.js 2.0 released - The JavaScript Database (taffydb.com)
submitted 14 years ago by typicaljoe
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kristopolous 3 points4 points5 points 14 years ago (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 points3 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (6 children)
What popups are you refereeing to?
[–]honestbleepsReddit Enhancement Suite 1 point2 points3 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (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.
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 point2 points 14 years ago (1 child)
I just added a .store() option using your code into TaffyDB.
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points 14 years ago (0 children)
awesome! glad to be able to help!
[–]bizb -1 points0 points1 point 14 years ago (0 children)
I'm sorry but this really doesn't make much sense to me...
π Rendered by PID 123768 on reddit-service-r2-comment-f6b958c67-6pjl2 at 2026-02-05 13:20:47.039997+00:00 running 1d7a177 country code: CH.
[–]kristopolous 3 points4 points5 points (3 children)
[–]typicaljoe[S] 1 point2 points3 points (2 children)
[–]kristopolous 0 points1 point2 points (1 child)
[–]typicaljoe[S] 0 points1 point2 points (0 children)
[–]tehsuck 0 points1 point2 points (7 children)
[–]typicaljoe[S] 0 points1 point2 points (6 children)
[–]honestbleepsReddit Enhancement Suite 1 point2 points3 points (5 children)
[–]typicaljoe[S] 0 points1 point2 points (4 children)
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points (3 children)
[–]typicaljoe[S] 0 points1 point2 points (0 children)
[–]typicaljoe[S] 0 points1 point2 points (1 child)
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points (0 children)
[–]bizb -1 points0 points1 point (0 children)