sharp as a tack
Also, sharp as a razor. Mentally acute. For example, She's very wittyshe's sharp as a tack. These similes are also used literally to mean "having a keen cutting edge" and have largely replaced the earlier sharp as a needle or thorn. The first dates from about 1900, the variant from the mid-1800s.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.