New answers tagged

3 votes

Simple Key Value Database using C

Seems you are looping through index to get to your key position...at this point id suggest looking at hashtables/dictionaries, since this is what first comes to mind when talking about key-value data ...
Perdi Estaquel's user avatar
4 votes

Simple Key Value Database using C

Review .h include needs Do not rely on other code to include the files for a given .c, .h file. set.h needs <stdio.h> for <...
chux - Reinstate Monica's user avatar
10 votes

Simple Key Value Database using C

mutex serves no purpose. It is not shared between processes, and your program is not multithreaded. If you want an exclusion between unrelated instances of the ...
vnp's user avatar
  • 55.9k
10 votes

Simple Key Value Database using C

Enable more compiler warnings: Adding: ...
Harith's user avatar
  • 2,302

Top 50 recent answers are included