| ▲ | ahartmetz a day ago | |
Well, you can do two or three main things: - Use an algorithm and implementation that needs a small amount of code for each instance (that is where the skip list is useful) - Have a shared "out of line" (not inline) implementation for bulky parts of the implementation, where possible - Support the compiler + linker feature to merge identical functions by making code identical between template instantiations of similar enough types | ||