• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • FMSLogo
  • Code
FMSLogo

FMSLogo Code

A Logo programming environment for Microsoft Windows

Brought to you by: david_costanzo
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Feature Requests
    • Bugs
    • Support Requests
  • Discussion
  • Code
Menu ▾ ▴
 
  • Browse Commits
  • Browse Files

Commit [r1509]  Maximize  Restore  History

Fix bug #1543643: FMSLogo is responsive when running 'PR ISEQ 1 100000'. This is the first bugfix for FMSLogo 6.11.0.

This fix involved making two optimizations, rather than just scanning for windows messages more often:
1) When we reallocate combo_buff, we always at least double its size. This avoids a problem where we thrash the allocator by always reallocating the buffer to be one byte larger than the previous size. This changes the use of allocation to O(N) to O(log N).
2) Remove many calls to strlen(combo_buff) by adding combo_buff_length, and keeping it up-to-date. This changes the printing routine from being O(N^2) to O(N).

david_costanzo 2006-08-20

Browse code at this revision

Parent: [r1508]

Child: [r1510]

changed /trunk/logo/src/FMSLOGO.TXT
changed /trunk/logo/src/unix.cpp
/trunk/logo/src/FMSLOGO.TXT Diff Switch to side-by-side view
Loading...
/trunk/logo/src/unix.cpp Diff Switch to side-by-side view
Loading...
SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
mdb logo