因为要进行所有小块比较,所以最坏的情况下是要扫描比较图片的所有象素点(两副图完全一样的情况时),最理想的情况就是只扫描比较所有小块的第一点(两副图完全不一样的情况时)。
一款国外开发的创建自己语法的解析器可以根据自己定义的规则解析出相应的C#和VB.NET代码Oneofthemoredifficulttasksincomputerscienceisbuildingparsersandcompilers.Therearealotoftoolsavailablethataidinthetedioustask,mostnotably,FlexandYacc,bothavailableontheLinux/UNIXplatform.TheprogramIpresenthereinthisarticleiscalledTokenIcer.ItissimilartoFlex,butTokenIcerprovidesaniceeasytouseGUIthatservesasaneditorforyourrules,aswellasatestbedfortestingyourrules.Inaddition,onceyourparsingruleshavebeendefined,TokenIcercancreateaparserclass,basedonyourrul
andneedtowinatleast8outofthe13cards.Notrumpmeansnosuitwasusedasatrumpcard.Everyonehastoplaythesuitoftheleadcard.项目开源