notes and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-12-03 17:21:01 +03:00
parent 9e4ba0c86e
commit e77bca2712

View File

@ -11,10 +11,16 @@
* a/b/c * a/b/c
* - tag sets/relations * - tag sets/relations
* a:b * a:b
* - serializable tag queries * - serializable tag queries (text/json)
* - serializable tag data * - serializable tag data
* *
* *
* TODO:
* - investigate support for sqlite3
* - is it faster?
*
*
*
**********************************************************************/ **********************************************************************/
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define) ((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
(function(require){ var module={} // make module AMD/node compatible... (function(require){ var module={} // make module AMD/node compatible...
@ -25,29 +31,6 @@ var util = require('lib/util')
/*********************************************************************/
// XXX a Set-like back-end...
// API:
// .has(..)
// -> bool
//
// Unite two sets...
// .unite(..)
// -> new
//
// Intersection of two sets...
// .intersect(..)
// -> new
//
// Difference of two sets...
// .subtract(..)
// -> new
// extend Set to support the needed basics...
/*********************************************************************/ /*********************************************************************/
var TagsClassPrototype = { var TagsClassPrototype = {