{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/hana/issues/69","labels_url":"https://api.github.com/repos/boostorg/hana/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/hana/issues/69/comments","events_url":"https://api.github.com/repos/boostorg/hana/issues/69/events","html_url":"https://github.com/boostorg/hana/issues/69","id":73081573,"number":69,"title":"[String] Reconsider the representation","user":{"login":"ldionne","id":700834,"avatar_url":"https://avatars.githubusercontent.com/u/700834?v=3","gravatar_id":"","url":"https://api.github.com/users/ldionne","html_url":"https://github.com/ldionne","followers_url":"https://api.github.com/users/ldionne/followers","following_url":"https://api.github.com/users/ldionne/following{/other_user}","gists_url":"https://api.github.com/users/ldionne/gists{/gist_id}","starred_url":"https://api.github.com/users/ldionne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldionne/subscriptions","organizations_url":"https://api.github.com/users/ldionne/orgs","repos_url":"https://api.github.com/users/ldionne/repos","events_url":"https://api.github.com/users/ldionne/events{/privacy}","received_events_url":"https://api.github.com/users/ldionne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/boostorg/hana/labels/optimization","name":"optimization","color":"e11d21"},{"url":"https://api.github.com/repos/boostorg/hana/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-04T17:42:50Z","updated_at":"2015-11-20T16:30:31Z","closed_at":null,"body":"Right now, we use a different template specialization to store each different string. This could also work by using an anonymous type, but there seems to be a bug in Clang right now that makes this in some circumstances: http://llvm.org/bugs/show_bug.cgi?id=20625. Using an anonymous type could have compile-time performance benefits, so this avenue should be explored once the bug is fixed."},"comment":{"url":"https://api.github.com/repos/boostorg/hana/issues/comments/158451650","html_url":"https://github.com/boostorg/hana/issues/69#issuecomment-158451650","issue_url":"https://api.github.com/repos/boostorg/hana/issues/69","id":158451650,"user":{"login":"badair","id":2570307,"avatar_url":"https://avatars.githubusercontent.com/u/2570307?v=3","gravatar_id":"","url":"https://api.github.com/users/badair","html_url":"https://github.com/badair","followers_url":"https://api.github.com/users/badair/followers","following_url":"https://api.github.com/users/badair/following{/other_user}","gists_url":"https://api.github.com/users/badair/gists{/gist_id}","starred_url":"https://api.github.com/users/badair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badair/subscriptions","organizations_url":"https://api.github.com/users/badair/orgs","repos_url":"https://api.github.com/users/badair/repos","events_url":"https://api.github.com/users/badair/events{/privacy}","received_events_url":"https://api.github.com/users/badair/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:30:31Z","updated_at":"2015-11-20T16:30:31Z","body":"Wow, that is a very interesting idea. Are hana strings currently a performance bottleneck? Are there any data on the performance implications of symbol length in Clang? I would guess that symbols spend most of their lives in a hash table, but I've never looked at Clang code."}}