平面文件一词从何而来?
我想知道是否有人知道。 “扁平化”是分层的反义词吗?它是否来自“这是一个纯粹的常规文件”之类的短语?
I was wondering if anyone knows. Is 'flat' the opposite of hierarchal? Does it come from a phrase like, "this is a flat-out regular file"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
查看维基百科文章(以及其引用),平面文件中的“平面”与结构化文件相反,结构可以是层次结构、关系结构或一些结构其他格式。
Looking at the wikipedia article (and one of its references), the 'flat' in flat file is as opposed to structured file, where the structure can be heirarchical, relational, or a few other formats.
平面文件被读入平面数据结构,它本质上是一个数组。一大堆简单的价值观。
例如,存储数据的更好方法是使用二叉树。该数据不是平坦的,因为它有根和节点。
非扁平数据结构使排序和搜索更加高效。
A flat file is read into a flat data structure, it is essentially an array. One big flat list of values.
A better way to store data would be in a binary tree for example. this data is not flat as it has a root and nodes.
A non flat data structure makes sorting and search much more efficient.
好吧,一种富有想象力的方式是可以在一个平面、一个平面上想象平面文件,更复杂的数据库在表之间有连接,这只能在 3d 中想象:P
Well an imaginative way would be flatfiles can be imagined in one plane, a flat surface ,the more complicated DBs have connection between tables which can only be imagined in 3d :P
您的猜测是正确的:平面文件是“平面”的,因为它们没有内部层次结构。
Your speculation is correct: flat files are "flat" in that they do not have an internal hierarchical structure.