Advanced search

Message boards : SZTAKI Desktop Grid : Optimisations

Profile Ananas
Send message
Joined: Jul 12 05
Posts: 222
Credit: 665,833
RAC: 0
Message 3569 - Posted 16 Jul 2006 1:04:34 UTC

    Last modified: 16 Jul 2006 1:06:08 UTC

    Wouldn\'t it be better to place all this array stuff in an aligned struct and write that out to a binary file with fixed length records?

    That would save quite a lot of parsing and converting from / to string, on client side as well as on server side.

    If needed, there could be a separate standalone converter, that dumps those binary files into a readable text file.

    If you consider to implement it, don\'t forget that you might have to swab() the numbers on some non-Intel systems to the required big/little endian order.

    Profile kadam
    Project administrator
    Send message
    Joined: May 25 05
    Posts: 589
    Credit: 38,614
    RAC: 0
    Message 3582 - Posted 17 Jul 2006 14:42:59 UTC - in response to Message 3569.

      Nice, but I don\'t think that considerable ammount of CPU time is wasted during string conversion...we\'ll consider it, anyways!
      If you like BOINC, you may also find CaretCursor to be appealing.

      Post to thread

      Message boards : SZTAKI Desktop Grid : Optimisations

      Home | My Account | Message Boards

      Copyright © 2018 SZTAKI Desktop Grid