Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Preview/Opinion Needed] Shebang's Byte Difference Engine (SBDE)

(Jan 2, 2014 04:09 PM)KingCobraXD Wrote:  I took a quick look and it seems that you only change the bytes that are different. That's a good start but something you might want to think about is byte insertion/removal. For example, we have two files, one with a size of 100 bytes and another with a size of 101 bytes. The only difference between the two files is that there is a random byte inserted somewhere in the second file, thus making it one byte larger than the first file. Using the method you use right now will mean that every byte after the inserted byte will require a change. If you can detect removed/inserted bytes, you can definitely make it much more efficient.

This!
Also, storing the bytes as a text file is maybe not that clever, especially not since you use more text than the actual bytes itself.
The idea is definitely nice and you should continue, but there's a lot of room for improvement.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by Julius013Mar 2, 2022 05:12 PM 4 314 Mar 2, 2022 05:12 PM
Last Post: Julius013
[Python] by datguy.devFeb 13, 2017 07:47 PM 8 334 Feb 13, 2017 07:47 PM
Last Post: datguy.dev
[.NET] by TheBlackMarketNov 21, 2016 02:35 AM 23 912 Nov 21, 2016 02:35 AM
Last Post: Icoderz