Results 1 to 9 of 9

Thread: 0001-files

  1. #1

    Default 0001-files

    Hi Friedrich,

    if I add a line at the end of a text file with the following script line

    Text File: Insert Line "0" to "%[L]_LOGFILE%" -- %[L]_LOGMESSAGE%

    then I see a *.0001 file for a few milliseconds. It seems to hold a copy
    of the text file.

    Please, could you tell me, what this file is good for?

    Thanks in advance.

    Markus

  2. #2

    Default Re: 0001-files

    Hi Markus,

    > if I add a line at the end of a text file with the following script line
    >
    > Text File: Insert Line "0" to "%[L]_LOGFILE%" -- %[L]_LOGMESSAGE%
    >
    > then I see a *.0001 file for a few milliseconds. It seems to hold a copy
    > of the text file.
    >
    > Please, could you tell me, what this file is good for?

    The function creates a copy of the original file, makes the appropriate
    modifications (e.g. add line, replace line, etc.) and if this process
    succeeds, it replaces the original file.

    Friedrich

  3. #3

    Default Re: 0001-files

    Hi Friedrich,

    this is very secure, not to say paranoid. But it slows down things, if
    you write big (40MB with 1.000.000 lines in my case) files with setup
    builder (also known as tool builder).

    I can see, that you need this for inserting or replacing lines. But
    perhaps you can add a function "append line" which does not use this
    double checked security.

    What do you think?

    Markus

  4. #4

    Default Re: 0001-files

    Hi Markus,

    > this is very secure, not to say paranoid. But it slows down things, if you
    > write big (40MB with 1.000.000 lines in my case) files with setup builder
    > (also known as tool builder).
    >
    > I can see, that you need this for inserting or replacing lines. But
    > perhaps you can add a function "append line" which does not use this
    > double checked security.
    >
    > What do you think?

    Yes, we also noticed it while testing your utility script. It was
    slooooooooow <g>. In fact, the "Handle Text Operation" feature was not
    designed to handle this number of write actions (and files with 1.2+ million
    lines).

    But we'll check if it is possible to speed up this process (we'll use your
    script as a reference project). It should be possible to optimize this
    feature.

    Thanks,
    Friedrich

  5. #5

    Default Re: 0001-files

    Thanks,

    I will send you the corrected script, after we've solved the buffer
    overrun issue.

    Markus

  6. #6

    Default Re: 0001-files

    Hi Markus,

    > this is very secure, not to say paranoid. But it slows down things, if
    > you write big (40MB with 1.000.000 lines in my case) files with setup
    > builder (also known as tool builder).

    Out of terminal curiosity<g>: Why do you need to write a file like that
    with SB?

    Best regards,

    --
    Arnór Baldvinsson - Icetips Alta LLC
    Port Angeles, Washington
    www.icetips.com - www.buildautomator.com - www.altawebworks.com

    Icetips product subscriptions at http://www.icetips.com/subscribe.php

  7. #7

    Default Re: 0001-files

    Because SetupBuilder is also a fantastic ToolBuilder, and I use it this way.

    As someone else mentioned a few monthes ago, Friedrich could double his
    income, if he would sell the same product two times: As SetupBuilder ans
    as ToolBuilder.

    Markus

  8. #8

    Default Re: 0001-files

    Hi Friedrich,

    I just send you a simplified "performance test script".

    Markus

  9. #9

    Default Re: 0001-files

    Hi Markus,

    >
    > I just send you a simplified "performance test script".
    >

    Received, thank you!!

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •