IssueRaiser

This point about the B-tree is salient: Unfortunately, to make the B-tree generic we require an interface and the most expensive opera...

This point about the B-tree is salient: Unfortunately, to make the B-tree generic we require an interface and the most expensive operation in CPU profiling is the interface method which in turn calls into runtime.assertI2T. We need generics. One of the most frustrating aspects of go is having to resort to interface{} every time you want a generic implementation of a data structure.

Posted by timmytokyo on Jul 4, 2015, 5:02 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,500 issues0 comments

pricing (Software)

This point about the B-tree is salient: Unfortunately, to make the B-tree generic we require an interface and the most expensive opera...

timmytokyoJul 4, 2015, 5:02 AM

This point about the B-tree is salient: Unfortunately, to make the B-tree generic we require an interface and the most expensive operation in CPU profiling is the interface method which in turn calls into runtime.assertI2T. We need generics. One of the most frustrating aspects of go is having to resort to interface{} every time you want a generic implementation of a data structure.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue