-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
a new inner database in /lib folder #59990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
this is a database that is much smaller than the last one
jasnell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't appear to make any sense.
|
re:jasnell |
|
Nowadays, it is important for companies to ensure the security of data,which can partly means to ensure that data cannot be missed during the temporary shutdown.The large company can hire emploees that can save the data intervally but in the small companies and single developers,it might be hard to think about how to save them and in the same time,ensure the high speed.even though the AI can complete the code,but it cannot complete enlightening algorithms.As this is an open-source project, i consider it can offer an opportunity to help single developers to create code that have the single safety like emploees in large companies |
Hello @mumu2009, Thank you for your effort to contribute to Node.js. Unfortunately, we can’t accept this proposal right now, as it is not something that we planned to include in Node.js, and it doesn’t follow our contribution guidelines. The Node.js ecosystem is very open, and you don’t need to add something to the core(this repository) for others be able to use it. For example, Express is a popular HTTP server library for Node.js that’s widely used but isn’t part of the Node.js repository. It has its own maintainers and distribution process, and website, allowing developers to install and use it independently through npm. I recommend creating and distributing your database in a similar way. Please stop opening pull requests with this code, as it could be flagged as spam and might even lead to a ban of your account from the Node.js repository. Please keep this in mind for future contributions, and thank you for your understanding. |
a database that can select single data in very high speed,which can reach the speed of O(1); this database is also good at search the nearest point among a table; the first several lines are the tipes and the usage of the database.
this database have following features:
1.it can asynchronously done IO action by sqlite and put the IO request into the queue in order to provide a high-speed batch insert/update/delete and ensure the data's security
2.the only expose function is executeprompt() which is like sqlclient.execute(sql) in mysql sqlite...
3.it use hash-table as the main structure of table,which provide the O(1) search.it also can create index in the structure of tree
4.due to the firewall,it might be difficult to connect with me by issue ,so please connect with me by email as [email protected]
5.what i mainly deed is put a database that is light into the lib folders
2025.9.23.18.56 +8.00Zone: tipes: i cut down the esbuild usage sothat it low to about 4k lines of js code,but there is about 20% blank and notes like "/* ... */" that is counted in. if you like ,you can delete them so that the hole code is about 2k lines. These code might be hard to read at first. but i promised it can be valued as its length and it can be read easily once you read the classes carefully.
PS: i upload a readme file in the same time. if you cannot read chinese,you can only read the Usage/command part start as "
create database <database_name>",there might be some mistakes in the front parts,but i can promise that there is none of erros in the "usage part"readme.md