Author Topic: DataNode vs .txt  (Read 6391 times)

Elmo loves cookies

  • Jr. Member
  • **
  • Thank You
  • -Given: 60
  • -Receive: 1
  • Posts: 62
    • View Profile
DataNode vs .txt
« on: August 22, 2017, 05:06:00 PM »
I use in my backEnd simple writing in text format(.txt), but tNet using DataNode, its have difference in performance and I should use dataNode class or I can use simple text format?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: DataNode vs .txt
« Reply #1 on: August 22, 2017, 06:58:17 PM »
Depends on what you serialize, how often, and how much of it. DataNode is obviously an all-inclusive solution, and it can do text, binary or compressed export/import
of any data without any additional work. There is little reason to use text-based serialization of your own. Text serialization is in itself slow -- so if you want performance, save in binary.