Hacker News new | ask | show | jobs
by amelius 1979 days ago
Well, one approach is to parameterize your data-types such that they are fast in the usual case, but become perhaps slightly slower (but still on par with hand-written code) in the more versatile case.