Help Needed Optimizing Lz77 Compressor

Discussion in 'Software' started by HarryPotter, Nov 19, 2022.

  1. HarryPotter

    HarryPotter MajorGeek

    Hi! I am working on some compression techniques, but they are very slow. One of the performance hogs is my versions of lz77. I asked about it elsewhere, and one person helped me optimize the lz77 main loop, while another pointed out hash tables. The former helped slightly, but I couldn't quite understand the latter. I tried to use an 8k array of bits to determine whether a word occurred before. It helped slightly. Can somebody here better explain the hash table technique and give me other ways to optimize lz77?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds