Updated the FastCode github: https://github.com/JBontes/FastCode
Updated the FastCode github: https://github.com/JBontes/FastCode
A full testsuite is included and all 300 odd tests pass.
There is a light sprinkling of asm, but not as much as I would like because asm doesn't inline.
I need a good project to test speed enhancements on.
I think I'll use a mix of sort/search routines.
Because sorting was the reason I started this project anyway.
Any and all comments for speed improvements are welcome.
https://github.com/JBontes/FastCode
A full testsuite is included and all 300 odd tests pass.
There is a light sprinkling of asm, but not as much as I would like because asm doesn't inline.
I need a good project to test speed enhancements on.
I think I'll use a mix of sort/search routines.
Because sorting was the reason I started this project anyway.
Any and all comments for speed improvements are welcome.
https://github.com/JBontes/FastCode
Yes, if a class overrides equals it will be incorrect. have updated the code.
ReplyDeleteThis also means that (both mine and Emba's) compare for objects is wrong.
if(Equals(a,b)) and if(Compare(a,b)=0) should always give the same result.
Filed: https://quality.embarcadero.com/browse/RSP-11331
I disagree. Comparable <> equatable. Using compare(a,b) = 0 when checking for equality imo is a misconception.
ReplyDeleteStefan Glienke
ReplyDeleteHmm, I see your point.