cy6erGn0m <cy6ergn0m@xxxxxxxxx> writes: > I use filysystem as Set data structure to make fast checks from scripts. > Of course I can make long long file and test it with grep but it's will > have linear performance degradation (List), at the same time file system > has efficient tree binary structures (smth. like TreeSet). So, using > filesystem is the simplest way to do this efficient. Also I always have > timestamps for every entry. In this usecase all files are always empty. If the files are always empty you could just create hard links: ln file number instead of touch. Then you'll only need a single inode for your complete set and also avoid a lot of seeking. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html