2 ms·
I don't speak from experience with Go, but a simple type assertion at an interface boundary should normally not be noticeable at all. Where performance matters,
by jstimpfle 8y ago
I don't speak from experience with Go, but a simple type assertion at an interface boundary should normally not be noticeable at all. Where performance matters, there you usually do not have parameteric types or similar. Have you measured anything?