Occassionally I might take one 30 mins before a race, or maybe a banana, but not during the race for HM or less. Take one mid way through a 10k, and by the time i've finished, the body has just about processed the carbs and makes them available to use standing around past the finish line.
The race you were at sounds like a gel manufacturers wet dream