Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by Jason View Post
    No. Just no. You're basically saying that for EVERY ITEM IN THE LISTBOX:
    That's true, but I don't think that it's a big deal for what he wants tho.
    But nevertheless, it's true so. Thanks for informing about it

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. #17
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Jorndel View Post


    That's true, but I don't think that it's a big deal for what he wants tho.
    But nevertheless, it's true so. Thanks for informing about it
    His question states that his whole application is hanging due to the length of time it's taking to write the data to disk. Poor coding aside, this is likely because of a large set of data in the list-box, given that the number of File.AppendAllText calls your code makes is directly proportional to the number of items in the listbox, it's safe to say this is a big deal.

    Poor habits shouldn't be encouraged or suggested, especially for the sake of 1 less line of code. They breed other sloppy coding habits.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. The Following User Says Thank You to Jason For This Useful Post:

    Jorndel (05-31-2013)

  4. #18
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    About 100,000 to 1,000,000 it varies though.


    MPGH Staff History:
    Minion: 02-12-2013 - 6-28-2013
    Former Staff: 6-28-2013 - 7-14-2014
    Minion: 7-14-2014 - 1-3-2015
    Minion+: 1-3-2015 - 6-1-2015
    Moderator: 6-1-2015 - 10-2-2016
    Global Moderator: 10-2-2016 - Current

    Current Sections:
    DayZ Mod & Standalone Hacks & Cheats
    BattleOn Games Hacks, Cheats & Trainers
    Minecraft Hacks
    Other Semi-Popular First Person Shooter Hacks
    Blackshot Hacks & Cheats
    Need For Speed World Hacks
    Other First Person Shooter Hacks
    CounterStrike: Global Offensive Hacks
    Garry's Mod Hacks & Cheats


    Donating:
    If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
    Top Donators: (Awesome People)
    FanticSteal $75.00
    smurf_master $58.00 <- Best DayZ Gear Seller
    Fujiyama $25.00
    [MPGH]Black $10.00
    [MPGH]Hova $10.00
    xJudgez $4.54
    [MPGH]Normen's Sheep $3.50
    eminemlover $1.50


    Brony?
    https://www.mpgh.net/forum/groups/1728-mpgh-bronies.html

  5. #19
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by Jason View Post


    His question states that his whole application is hanging due to the length of time it's taking to write the data to disk. Poor coding aside, this is likely because of a large set of data in the list-box, given that the number of File.AppendAllText calls your code makes is directly proportional to the number of items in the listbox, it's safe to say this is a big deal.

    Poor habits shouldn't be encouraged or suggested, especially for the sake of 1 less line of code. They breed other sloppy coding habits.
    Yeah, I see the point there. Well, thanks for informing about it. I didn't really think it would affect that much, as .Net uses the Garbage Collection thingy
    (And not like C++ I think, where you had to do it manually)

    Sorry, I'm not this into programming. And I'm grateful for the info, I'll remember and think more about it

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #20
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Parallel Programming, maybe?

  7. #21
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    Quote Originally Posted by NormenJaydenFBI View Post
    Any body know a way to improve the rate StreamWriters write to a file, the writer has to write 100,000 lines at times and it's obvious it will be slow but does anyone know a way to make it speed up or prevent the program from freezing?
    WriteFile.WriteLineAsync(text);







Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to get the Speed and Weapon Hack to work (PUB)
    By Black0ut077 in forum CrossFire Hacks & Cheats
    Replies: 8
    Last Post: 10-14-2009, 04:32 PM
  2. Replies: 6
    Last Post: 07-28-2009, 02:34 AM
  3. change the speed of the heroe?
    By grillgn in forum Battlefield Heroes Hacks
    Replies: 7
    Last Post: 07-25-2009, 02:23 AM
  4. How do u stop the speed hack?
    By Alexjr123 in forum CrossFire Hacks & Cheats
    Replies: 4
    Last Post: 04-14-2009, 11:17 AM
  5. Idea to improve the whole MPGH experience.
    By noregrets187 in forum Suggestions, Requests & General Help
    Replies: 12
    Last Post: 08-20-2008, 08:26 PM