+ 1
Database in c
I tried to write a database in c using structs and writing information in txt files using fopen, fprintf etc... It says that this way is slower than SQL. Pretty slower.. How to write a database on my own that will be fast using c language?
3 ответов
+ 3
Look at this:
https://www.sololearn.com/learn/668/?ref=app
And this:
https://en.m.wikipedia.org/wiki/Hash_table
+ 2
Look up how hash tables work.
Maybe look up how file systems work (or archives), as these allow a fast way to get data from a drive.
+ 1
Can you explain a little bit more please?