Ask whatever AI to make fast HEX to byte converter in FPC with respect of whitespaces, comma, including proper handling invalid characters and odd nibble counts cases, handlind input from buffer and files/streams and you will get miltiple "ingenious" versions and at end useless and overcomplicated slow code and a lot of wasted time. But first you need to "teach" it elementary things about Pascal syntax, semantic, practice and optimization...
That much about "AI", simple optimization and fairly common task.